Spaces:
Runtime error
Runtime error
Fix
Browse files
app.py
CHANGED
|
@@ -125,7 +125,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 125 |
error_json = e.response.json()
|
| 126 |
error_detail += f" Detail: {error_json.get('detail', e.response.text)}"
|
| 127 |
except requests.exceptions.JSONDecodeError:
|
| 128 |
-
error_detail += f" Response: {e.response.text[:500]"
|
| 129 |
status_message = f"Submission Failed: {error_detail}"
|
| 130 |
print(status_message)
|
| 131 |
results_df = pd.DataFrame(results_log)
|
|
|
|
| 125 |
error_json = e.response.json()
|
| 126 |
error_detail += f" Detail: {error_json.get('detail', e.response.text)}"
|
| 127 |
except requests.exceptions.JSONDecodeError:
|
| 128 |
+
error_detail += f" Response: {e.response.text[:500]}"
|
| 129 |
status_message = f"Submission Failed: {error_detail}"
|
| 130 |
print(status_message)
|
| 131 |
results_df = pd.DataFrame(results_log)
|