File size: 528 Bytes
70d210d
 
 
 
 
 
 
 
 
 
e4a2631
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
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"
```