GattoNero commited on
Commit
058eb06
·
verified ·
1 Parent(s): 99799cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- #total_questions = create_mock_questions()
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}")