Spaces:
Sleeping
Sleeping
Updated
Browse files
app.py
CHANGED
|
@@ -50,12 +50,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 50 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 51 |
try:
|
| 52 |
agent = BasicAgent()
|
| 53 |
-
|
| 54 |
-
# Check if agent is properly initialized
|
| 55 |
-
if not agent.gaia_agent:
|
| 56 |
-
print("ERROR: Agent was not properly initialized")
|
| 57 |
-
return "ERROR: Agent was not properly initialized. Check the logs for details on missing API keys or configuration.", None
|
| 58 |
-
|
| 59 |
except Exception as e:
|
| 60 |
print(f"Error instantiating agent: {e}")
|
| 61 |
return f"Error initializing agent: {e}", None
|
|
|
|
| 50 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 51 |
try:
|
| 52 |
agent = BasicAgent()
|
| 53 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
except Exception as e:
|
| 55 |
print(f"Error instantiating agent: {e}")
|
| 56 |
return f"Error initializing agent: {e}", None
|