hudaakram commited on
Commit
2cd3153
·
verified ·
1 Parent(s): 96ed865

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -10,4 +10,12 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
10
  license: mit
11
  ---
12
 
13
+ Space API:
14
+ POST /verify (multipart/form-data)
15
+ - username: string
16
+ - image: file
17
+ Response:
18
+ { decision: "Allow" | "Deny" | "Invalid" | "Not Found",
19
+ score: float, threshold: float, reason: string, token?: string }
20
+
21
+ GET /labels -> { labels: [ ... ] }