Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -290,10 +290,10 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
290 |
print(f"Fetching questions from: {questions_url}")
|
291 |
try:
|
292 |
#qui per servizio get domande
|
293 |
-
response = requests.get(questions_url, timeout=15)
|
294 |
-
response.raise_for_status()
|
295 |
-
total_questions = response.json()
|
296 |
-
|
297 |
|
298 |
print("\n\n")
|
299 |
print(f"total_questions: {total_questions}")
|
|
|
290 |
print(f"Fetching questions from: {questions_url}")
|
291 |
try:
|
292 |
#qui per servizio get domande
|
293 |
+
#response = requests.get(questions_url, timeout=15)
|
294 |
+
#response.raise_for_status()
|
295 |
+
#total_questions = response.json()
|
296 |
+
total_questions = create_mock_questions()
|
297 |
|
298 |
print("\n\n")
|
299 |
print(f"total_questions: {total_questions}")
|