Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -161,7 +161,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
161 |
if not questions_data:
|
162 |
print("Fetched questions list is empty.")
|
163 |
return "Fetched questions list is empty or invalid format.", None
|
164 |
-
print(f"Fetched {len(question_data)}
|
165 |
except requests.exceptions,RequestException as e:
|
166 |
print(f"Error fetching questions: {e}")
|
167 |
return f"Error fetching questions: {e}", None
|
|
|
161 |
if not questions_data:
|
162 |
print("Fetched questions list is empty.")
|
163 |
return "Fetched questions list is empty or invalid format.", None
|
164 |
+
print(f"Fetched {len(question_data)} questions.")
|
165 |
except requests.exceptions,RequestException as e:
|
166 |
print(f"Error fetching questions: {e}")
|
167 |
return f"Error fetching questions: {e}", None
|