quickcare-caption / README.md
nexusbert's picture
push
e4a2631
metadata
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:

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:

curl -X POST "http://localhost:8000/caption" \
  -F "image=@/path/to/your/image.jpg"