Skip to content

This project utilizes a deep learning model from Hugging Face's model hub to classify images as either "hot dog" or "not hot dog". The model is deployed as a Flask web application where users can upload images and instantly receive classification results.

Notifications You must be signed in to change notification settings

RavenCunanan/Hot-Dog-Recognizing-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hot-Dog-Recognizing-AI

This project utilizes a deep learning model from Hugging Face's model hub to classify images as either "hot dog" or "not hot dog". The model is deployed as a Flask web application where users can upload images and instantly receive classification results.

Usage:

  1. Clone the repository: git clone https://github.com/your-username/hot-dog-recognizer.git cd hot-dog-recognizer

  2. Set up your environment: Create and activate a virtual environment (optional but recommended): python -m venv venv . venv/bin/activate # On Windows use venv\Scripts\activate

  3. Install Flask and other dependencies: pip install Flask requests python-dotenv

  4. Obtain an API key from Hugging Face and update the .env file: HUGGING_FACE_API_KEY=your_api_key_here HUGGING_FACE_API_URL=https://api-inference.huggingface.co/models/julien-c/hotdog-not-hotdog

  5. Run the application: python web.py

  6. Play with the AI on your browser.

1

2

About

This project utilizes a deep learning model from Hugging Face's model hub to classify images as either "hot dog" or "not hot dog". The model is deployed as a Flask web application where users can upload images and instantly receive classification results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published