Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -213,8 +213,8 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 213 |
|
| 214 |
#select question we want to focus
|
| 215 |
if "excel" in question_text.lower() or "mp3" in question_text.lower() or "pitchers" in question_text.lower():
|
| 216 |
-
|
| 217 |
-
|
| 218 |
if result:
|
| 219 |
answers_payload.append(result)
|
| 220 |
else:
|
|
|
|
| 213 |
|
| 214 |
#select question we want to focus
|
| 215 |
if "excel" in question_text.lower() or "mp3" in question_text.lower() or "pitchers" in question_text.lower():
|
| 216 |
+
file_path = await check_n_load_attach(session, task_id, question_text.lower())
|
| 217 |
+
result = await process_question(agent, question_text, task_id, file_path, results_log)
|
| 218 |
if result:
|
| 219 |
answers_payload.append(result)
|
| 220 |
else:
|