Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 59 |
# 2. Fetch Questions
|
| 60 |
print(f"Fetching questions from: {questions_url}")
|
| 61 |
try:
|
| 62 |
-
response = requests.get(questions_url, timeout=
|
| 63 |
response.raise_for_status()
|
| 64 |
questions_data = response.json()
|
| 65 |
if not questions_data:
|
|
|
|
| 59 |
# 2. Fetch Questions
|
| 60 |
print(f"Fetching questions from: {questions_url}")
|
| 61 |
try:
|
| 62 |
+
response = requests.get(questions_url, timeout=30)
|
| 63 |
response.raise_for_status()
|
| 64 |
questions_data = response.json()
|
| 65 |
if not questions_data:
|