Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
35 |
try:
|
36 |
response = requests.get(questions_url, timeout=15)
|
37 |
response.raise_for_status()
|
38 |
-
questions_data = response.json()
|
39 |
if not questions_data:
|
40 |
yield "Fetched questions list is empty or invalid format.", None, log_output
|
41 |
return
|
|
|
35 |
try:
|
36 |
response = requests.get(questions_url, timeout=15)
|
37 |
response.raise_for_status()
|
38 |
+
questions_data = response.json()[:5]
|
39 |
if not questions_data:
|
40 |
yield "Fetched questions list is empty or invalid format.", None, log_output
|
41 |
return
|