Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -56,9 +56,6 @@ def load_dataset():
|
|
| 56 |
print(f"Skipping Task ID: {question.get('task_id', 'N/A')} - Could not convert tool/step count to integer.")
|
| 57 |
print("------------------------------------------------------------------")
|
| 58 |
filtered_dataset=tempo_filtered
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
for item in filtered_dataset:
|
| 63 |
task_id = item.get('task_id')
|
| 64 |
question_text = item.get('Question')
|
|
@@ -209,6 +206,7 @@ async def get_questions():
|
|
| 209 |
"""
|
| 210 |
Provides the list of questions that agents should answer.
|
| 211 |
"""
|
|
|
|
| 212 |
if not questions_for_api:
|
| 213 |
raise HTTPException(status_code=404, detail="No questions available.")
|
| 214 |
return questions_for_api
|
|
|
|
| 56 |
print(f"Skipping Task ID: {question.get('task_id', 'N/A')} - Could not convert tool/step count to integer.")
|
| 57 |
print("------------------------------------------------------------------")
|
| 58 |
filtered_dataset=tempo_filtered
|
|
|
|
|
|
|
|
|
|
| 59 |
for item in filtered_dataset:
|
| 60 |
task_id = item.get('task_id')
|
| 61 |
question_text = item.get('Question')
|
|
|
|
| 206 |
"""
|
| 207 |
Provides the list of questions that agents should answer.
|
| 208 |
"""
|
| 209 |
+
print(questions_for_api)
|
| 210 |
if not questions_for_api:
|
| 211 |
raise HTTPException(status_code=404, detail="No questions available.")
|
| 212 |
return questions_for_api
|