Update app.py
Browse files
app.py
CHANGED
|
@@ -124,8 +124,9 @@ class BasicAgent:
|
|
| 124 |
answer = self.agent.run(question)
|
| 125 |
return str(answer).strip()
|
| 126 |
except Exception as e:
|
| 127 |
-
|
| 128 |
-
|
|
|
|
| 129 |
|
| 130 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 131 |
"""
|
|
|
|
| 124 |
answer = self.agent.run(question)
|
| 125 |
return str(answer).strip()
|
| 126 |
except Exception as e:
|
| 127 |
+
import traceback
|
| 128 |
+
traceback.print_exc()
|
| 129 |
+
return "Error"
|
| 130 |
|
| 131 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 132 |
"""
|