Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -731,14 +731,12 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
731 |
if DOMANDE_MOCKATE:
|
732 |
total_questions = create_mock_questions()
|
733 |
else:
|
|
|
734 |
responseFromService = requests.get(questions_url, timeout=30)
|
735 |
response = process_questions(responseFromService)
|
736 |
response.raise_for_status()
|
737 |
total_questions = response.json()
|
738 |
|
739 |
-
print("\n\n")
|
740 |
-
#print(f"total_questions: {total_questions}")
|
741 |
-
print("\n\n")
|
742 |
questions_data = total_questions[:min(20, len(total_questions))]
|
743 |
print_coso(f"questions_data: {questions_data}")
|
744 |
if not questions_data:
|
|
|
731 |
if DOMANDE_MOCKATE:
|
732 |
total_questions = create_mock_questions()
|
733 |
else:
|
734 |
+
print_coso("lancio servizio questions")
|
735 |
responseFromService = requests.get(questions_url, timeout=30)
|
736 |
response = process_questions(responseFromService)
|
737 |
response.raise_for_status()
|
738 |
total_questions = response.json()
|
739 |
|
|
|
|
|
|
|
740 |
questions_data = total_questions[:min(20, len(total_questions))]
|
741 |
print_coso(f"questions_data: {questions_data}")
|
742 |
if not questions_data:
|