MrAlexGov commited on
Commit
85fd41d
·
verified ·
1 Parent(s): bf6b31f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -7,4 +7,17 @@ sdk: docker
7
  pinned: false
8
  ---
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
7
  pinned: false
8
  ---
9
 
10
+ Документация по API - https://mralexgov-docker-test.hf.space/docs
11
+
12
+ Пример использования:
13
+
14
+ curl -X POST "https://mrAlexGov-docker-test.hf.space/predict" \
15
+ > -H "Content-Type: application/json" \
16
+ > -d '{"text": "Ищем Python разработчика"}' \
17
+ > --max-time 30
18
+
19
+ Ответ:
20
+
21
+ {"prediction":"IT-вакансия","is_it_job":true,"confidence":0.9928556680679321,"class_id":1}
22
+
23
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference