Spaces:
Runtime error
Runtime error
Update views/data_inference.py
Browse files- views/data_inference.py +1 -1
views/data_inference.py
CHANGED
|
@@ -174,7 +174,7 @@ class DataInference:
|
|
| 174 |
if submit:
|
| 175 |
button_placeholder.empty()
|
| 176 |
|
| 177 |
-
api_url = "https://
|
| 178 |
file_path = model.get_image_file()
|
| 179 |
|
| 180 |
with open(file_path, "rb") as file:
|
|
|
|
| 174 |
if submit:
|
| 175 |
button_placeholder.empty()
|
| 176 |
|
| 177 |
+
api_url = "https://itnovaml-sparrow-ml-itn.hf.space/api-inference/v1/sparrow-ml/inference"
|
| 178 |
file_path = model.get_image_file()
|
| 179 |
|
| 180 |
with open(file_path, "rb") as file:
|