Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -285,10 +285,10 @@ Answer:"""
|
|
| 285 |
# print("Warning: Agent produced an empty answer after cleaning.")
|
| 286 |
# return "Unable to generate a valid answer."
|
| 287 |
|
| 288 |
-
|
| 289 |
-
except Exception as e:
|
| 290 |
-
|
| 291 |
-
|
| 292 |
|
| 293 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
| 294 |
"""
|
|
|
|
| 285 |
# print("Warning: Agent produced an empty answer after cleaning.")
|
| 286 |
# return "Unable to generate a valid answer."
|
| 287 |
|
| 288 |
+
# return answer
|
| 289 |
+
# except Exception as e:
|
| 290 |
+
# print(f"Error during LLM call for question '{question[:50]}...': {e}")
|
| 291 |
+
# return f"AGENT_ERROR: LLM call failed. ({type(e).__name__})"
|
| 292 |
|
| 293 |
def run_and_submit_all(profile: gr.OAuthProfile | None):
|
| 294 |
"""
|