DogLover / README.md
alexvee's picture
Update README.md
ea016ec verified

A newer version of the Gradio SDK is available: 6.13.0

Upgrade
metadata
title: DogLover
emoji: πŸ“‰
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 5.38.0
app_file: app.py
pinned: false
short_description: A dog loving space

🐢 Dog Breed Classifier (Gradio + Hugging Face)

This web app uses a powerful transformer-based model from Hugging Face to classify dog breeds from uploaded images.

πŸ” Model

  • Name: prithivMLmods/Dog-Breed-120
  • Base architecture: SigLIP (Vision Transformer)
  • Classes: 120 dog breeds

πŸš€ Features

  • Built with Gradio for easy web interaction
  • Powered by Transformers + PyTorch
  • Can run on Hugging Face Spaces with no backend setup

πŸ“ File Structure

dog-breed-app/
β”œβ”€β”€ app.py             # Main app file
β”œβ”€β”€ requirements.txt   # Python dependencies
└── README.md          # This file

πŸ§ͺ Local Setup

# Create and activate environment (optional)
conda create -n dog-breed python=3.10 -y
conda activate dog-breed

# Install dependencies
pip install -r requirements.txt

# Run the app
python app.py

🌐 Deploy to Hugging Face Spaces

  1. Go to https://huggingface.co/spaces
  2. Create a new Space (select Gradio as SDK)
  3. Upload app.py and requirements.txt
  4. Your app will be live at: https://huggingface.co/spaces/your-username/your-app

✨ Example Use

Upload a photo like this: example

And get a result like:

golden_retriever (98.4%)

Enjoy building! 🐾