Update api.py
Browse files
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://
|
| 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/"
|