Update app.py
Browse files
app.py
CHANGED
|
@@ -206,7 +206,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 206 |
|
| 207 |
print(f"Submitting {len(answers_payload)} answers to {submit_url}...")
|
| 208 |
try:
|
| 209 |
-
|
| 210 |
response.raise_for_status()
|
| 211 |
result_data = response.json()
|
| 212 |
final_status = (
|
|
|
|
| 206 |
|
| 207 |
print(f"Submitting {len(answers_payload)} answers to {submit_url}...")
|
| 208 |
try:
|
| 209 |
+
response = requests.post(submit_url, json=submission_data, timeout=60)
|
| 210 |
response.raise_for_status()
|
| 211 |
result_data = response.json()
|
| 212 |
final_status = (
|