Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
beed526
1
Parent(s):
86f6326
fix
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
81 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
82 |
try:
|
83 |
agent = LangChainAgent()
|
84 |
-
|
85 |
print(f"Error instantiating agent: {e}")
|
86 |
return f"Error initializing agent: {e}", None
|
87 |
|
|
|
81 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
82 |
try:
|
83 |
agent = LangChainAgent()
|
84 |
+
except Exception as e:
|
85 |
print(f"Error instantiating agent: {e}")
|
86 |
return f"Error initializing agent: {e}", None
|
87 |
|