Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -204,8 +204,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
204 |
# 2. Fetch Questions
|
205 |
print(f"Fetching questions from: {questions_url}")
|
206 |
try:
|
207 |
-
response = requests.get(questions_url, timeout=15)
|
208 |
-
response.raise_for_status()
|
209 |
#total_questions = response.json()
|
210 |
total_questions = create_mock_questions()
|
211 |
questions_data = total_questions[:NUMERO_DOMANDE_TOTALE]
|
|
|
204 |
# 2. Fetch Questions
|
205 |
print(f"Fetching questions from: {questions_url}")
|
206 |
try:
|
207 |
+
#response = requests.get(questions_url, timeout=15)
|
208 |
+
#response.raise_for_status()
|
209 |
#total_questions = response.json()
|
210 |
total_questions = create_mock_questions()
|
211 |
questions_data = total_questions[:NUMERO_DOMANDE_TOTALE]
|