Midnightar commited on
Commit
61102eb
·
verified ·
1 Parent(s): 4438597

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -9,4 +9,13 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+
13
+ Endpoints:
14
+ - `GET /health` → `{"status":"ok"}`
15
+ - `GET /labels` → model labels
16
+ - `POST /predict` (multipart form, field name `file`) → JSON with top label and scores
17
+
18
+ Example:
19
+ ```bash
20
+ curl -X POST -F "file=@sample.wav" https://USERNAME-PROJECTNAME.hf.space/predict
21
+ ```