Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
64 |
# 1. Instantiate Agent (using your factory function from agent.py)
|
65 |
print("Initializing your custom agent...")
|
66 |
try:
|
67 |
-
agent_executor = create_agent_executor(provider="
|
68 |
except Exception as e:
|
69 |
print(f"Error instantiating agent: {e}")
|
70 |
return f"Fatal Error: Could not initialize agent. Check logs. Details: {e}", None
|
|
|
64 |
# 1. Instantiate Agent (using your factory function from agent.py)
|
65 |
print("Initializing your custom agent...")
|
66 |
try:
|
67 |
+
agent_executor = create_agent_executor(provider="groq") # or "groq"
|
68 |
except Exception as e:
|
69 |
print(f"Error instantiating agent: {e}")
|
70 |
return f"Fatal Error: Could not initialize agent. Check logs. Details: {e}", None
|