Spaces:
Running
Running
Daniel Amendoeira
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
41 |
# 2. Fetch Questions
|
42 |
print(f"Fetching questions from: {questions_url}")
|
43 |
try:
|
44 |
-
response = requests.get(questions_url, timeout=
|
45 |
response.raise_for_status()
|
46 |
questions_data = response.json()
|
47 |
if not questions_data:
|
|
|
41 |
# 2. Fetch Questions
|
42 |
print(f"Fetching questions from: {questions_url}")
|
43 |
try:
|
44 |
+
response = requests.get(questions_url, timeout=15)
|
45 |
response.raise_for_status()
|
46 |
questions_data = response.json()
|
47 |
if not questions_data:
|