Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def evaluate_model(task: str, space_url: str):
|
|
61 |
try:
|
62 |
# Make API call to the space
|
63 |
params = DEFAULT_PARAMS[task]
|
64 |
-
response = requests.post(api_url, json=params
|
65 |
if response.status_code != 200:
|
66 |
return None, None, None, gr.Warning(f"API call failed with status {response.status_code}")
|
67 |
|
|
|
61 |
try:
|
62 |
# Make API call to the space
|
63 |
params = DEFAULT_PARAMS[task]
|
64 |
+
response = requests.post(api_url, json=params)
|
65 |
if response.status_code != 200:
|
66 |
return None, None, None, gr.Warning(f"API call failed with status {response.status_code}")
|
67 |
|