Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

Repository files navigation

pal.ai

pal.ai is a progressive web app that uses images of rice leaves to identify rice leaf diseases.

In the back end, we use a minimal SvelteKit server that proxies the Hugging Face Hosted Inference API, which interfaces with a model that uses a BEiT vision transformer model to classify images of rice plants for the presence/absence of diseases. The model is pre-trained using ImageNet 22k then finetuned using the PH Rice Leave Diseases dataset. The model achieves 95% accuracy using the dataset test set despite having only 1120 training data points.

In the front end, pal.ai is an installable progressive web app (PWA) written in TypeScript with the Svelte framework. It uses the Vite build system for asset bundling, packaging, and optimization. The PWA allows users to upload their own images of rice plants for classification.

Environment Variables

Name Description
API_KEY API key from Hugging Face profile settings.

Project Members

About

pal.ai is a progressive web app that uses images of rice leaves to identify rice leaf diseases.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages