Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ async def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 85 |
print("Fetched questions list is empty.")
|
| 86 |
return "Fetched questions list is empty or invalid format.", None
|
| 87 |
print(f"Fetched {len(questions_data)} questions.")
|
| 88 |
-
questions_data = questions_data[:2]
|
| 89 |
except requests.exceptions.RequestException as e:
|
| 90 |
print(f"Error fetching questions: {e}")
|
| 91 |
return f"Error fetching questions: {e}", None
|
|
|
|
| 85 |
print("Fetched questions list is empty.")
|
| 86 |
return "Fetched questions list is empty or invalid format.", None
|
| 87 |
print(f"Fetched {len(questions_data)} questions.")
|
| 88 |
+
#questions_data = questions_data[:2]
|
| 89 |
except requests.exceptions.RequestException as e:
|
| 90 |
print(f"Error fetching questions: {e}")
|
| 91 |
return f"Error fetching questions: {e}", None
|