AdeogunTechno commited on
Commit
efd284b
·
verified ·
1 Parent(s): 8388d44

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -12
README.md CHANGED
@@ -1,12 +1 @@
1
- ---
2
- title: FoodClassifierAPI
3
- emoji: 📉
4
- colorFrom: blue
5
- colorTo: yellow
6
- sdk: docker
7
- pinned: false
8
- license: apache-2.0
9
- short_description: Yup
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ markdown <br>---<br>sdk: docker<br>app_port: 7860<br>---<br># Food‑Recognition API <br>This Space runs a tiny FastAPI service that: <br>* loads **BinhQuocNguyen/food‑recognition‑model** <br>* accepts a base‑64‑encoded image via **POST /analyze** <br>* returns the top food label, a (hard‑coded) portion‑size estimate and an estimated calorie count. <br>Example request (curl): <br>bash<br>curl -X POST https://<your‑username>-my-food-api.hf.space/analyze <br> -H "Content-Type: application/json" <br> -d '{"image":"<base64‑string>"}'<br><br> ```