Update app.py
Browse files
app.py
CHANGED
@@ -38,10 +38,7 @@ class BasicAgent:
|
|
38 |
return answer
|
39 |
|
40 |
except Exception as e:
|
41 |
-
|
42 |
-
fixed_answer = "This is a default answer."
|
43 |
-
print(f"Agent returning fixed answer: {fixed_answer}")
|
44 |
-
return fixed_answer
|
45 |
|
46 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
47 |
"""
|
|
|
38 |
return answer
|
39 |
|
40 |
except Exception as e:
|
41 |
+
return e
|
|
|
|
|
|
|
42 |
|
43 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
44 |
"""
|