Web app using next js 15 and hugging face api for pretrained image classification model.
- Classify Images: Users can upload images by browsing their folders or through drag and drop. Image will be classified using hugging face api and user will be shown the most probable class with the respective score.
2024-10-27.05-34-05.mp4
-
Clone the repository
-
Install the dependencies
npm install -
Create .env folder in the root folder
-
Add your access token of hugging face api in variable "NEXT_PUBLIC_HUGGING_FACE_API_ACCESS_TOKEN"
-
Start the dev server
npm run dev -
Access the application at http://localhost:3000.
- Next.js 15
- React
- Tailwind CSS
- TypeScript
- Hugging Face for image classification