Stroke-ia commited on
Commit
20376fb
·
verified ·
1 Parent(s): 1860abe

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -112,7 +112,7 @@ async def test_request():
112
  """
113
  try:
114
  file_path = "test.jpg" # mets ton image dans ton Space
115
- base_url = "https://huggingface.co/spaces/Stroke-ia/" # ⚠️ adapte au nom exact de ton Space
116
 
117
  # 1) Test JSON (détection)
118
  url_predict = f"{base_url}/predict/"
 
112
  """
113
  try:
114
  file_path = "test.jpg" # mets ton image dans ton Space
115
+ base_url = "https://Stroke-ia.hf.space" # ⚠️ adapte au nom exact de ton Space
116
 
117
  # 1) Test JSON (détection)
118
  url_predict = f"{base_url}/predict/"