Spaces:
Sleeping
Sleeping
| title: Quickcare Caption | |
| emoji: 🦀 | |
| colorFrom: red | |
| colorTo: gray | |
| sdk: docker | |
| pinned: false | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| ## Local development | |
| Install dependencies and run the API: | |
| ```bash | |
| python -m venv .venv | |
| source .venv/bin/activate | |
| pip install -r requirements.txt | |
| uvicorn app.main:app --host 0.0.0.0 --port 8000 | |
| ``` | |
| Test the captioning endpoint: | |
| ```bash | |
| curl -X POST "http://localhost:8000/caption" \ | |
| -F "image=@/path/to/your/image.jpg" | |
| ``` | |