Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -89,13 +89,11 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 89 |
try:
|
| 90 |
questions_data_v2 = api_client.get_questions()
|
| 91 |
questions_data=[]
|
| 92 |
-
# questions_data.append(questions_data_v2[0])
|
| 93 |
# questions_data.append(questions_data_v2[2])
|
| 94 |
# questions_data.append(questions_data_v2[4])
|
| 95 |
# questions_data.append(questions_data_v2[7])
|
| 96 |
# questions_data.append(questions_data_v2[11])
|
| 97 |
# questions_data.append(questions_data_v2[14])
|
| 98 |
-
questions_data.append(questions_data_v2[12])
|
| 99 |
# questions_data.append(questions_data_v2[19])
|
| 100 |
if not questions_data:
|
| 101 |
return "Fetched questions list is empty or invalid format.", None
|
|
|
|
| 89 |
try:
|
| 90 |
questions_data_v2 = api_client.get_questions()
|
| 91 |
questions_data=[]
|
|
|
|
| 92 |
# questions_data.append(questions_data_v2[2])
|
| 93 |
# questions_data.append(questions_data_v2[4])
|
| 94 |
# questions_data.append(questions_data_v2[7])
|
| 95 |
# questions_data.append(questions_data_v2[11])
|
| 96 |
# questions_data.append(questions_data_v2[14])
|
|
|
|
| 97 |
# questions_data.append(questions_data_v2[19])
|
| 98 |
if not questions_data:
|
| 99 |
return "Fetched questions list is empty or invalid format.", None
|