Update app.py
Browse files
app.py
CHANGED
|
@@ -79,8 +79,8 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 79 |
response.raise_for_status()
|
| 80 |
questions_data = response.json()
|
| 81 |
|
| 82 |
-
selected_indices = [0, 2, 4, 6, 10, 12, 14, 15] # Replace with the indices you want
|
| 83 |
-
questions_data = [questions_data[i] for i in selected_indices if i < len(questions_data)]
|
| 84 |
|
| 85 |
if not questions_data:
|
| 86 |
yield "Fetched questions list is empty or invalid format.", None, log_output
|
|
|
|
| 79 |
response.raise_for_status()
|
| 80 |
questions_data = response.json()
|
| 81 |
|
| 82 |
+
#selected_indices = [0, 2, 4, 6, 10, 12, 14, 15] # Replace with the indices you want
|
| 83 |
+
#questions_data = [questions_data[i] for i in selected_indices if i < len(questions_data)]
|
| 84 |
|
| 85 |
if not questions_data:
|
| 86 |
yield "Fetched questions list is empty or invalid format.", None, log_output
|