|
Download README.md from benitovvt/fastapi: direct link, hf CLI and curl.
- Browser
- Download file 872 Bytes
-
https://huggingface.co/spaces/benitovvt/fastapi/resolve/main/README.md
- Command line
-
hf download hf://spaces/benitovvt/fastapi/README.md
-
curl -L -o README.md https://huggingface.co/spaces/benitovvt/fastapi/resolve/main/README.md
872 Bytes
metadata
title: Animal Classification API
emoji: 🐾
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
Animal Classification API
A FastAPI inference service for classifying images of animals (Cat, Dog, Panda).
Features
- FastAPI REST API with automatic documentation
- TensorFlow model for image classification
- Swagger UI at
/docsfor interactive testing - Supports JPG, PNG image uploads
Usage
- Open the Space URL
- Navigate to
/docsendpoint - Try the
POST /upload/imageendpoint - Upload an image of a Cat, Dog, or Panda
- Get instant classification results!
API Endpoints
POST /upload/image- Upload an image for classificationGET /docs- Interactive API documentationGET /redoc- Alternative API documentation
Model
Uses a CNN trained on animal images with 64x64 input resolution.