Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ class BasicAgent:
|
|
| 19 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 20 |
agent_response = agent.run(question)
|
| 21 |
print(f"Agent returning fixed answer: {agent_response}")
|
| 22 |
-
return agent_response.strip()
|
| 23 |
|
| 24 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 25 |
"""
|
|
|
|
| 19 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 20 |
agent_response = agent.run(question)
|
| 21 |
print(f"Agent returning fixed answer: {agent_response}")
|
| 22 |
+
return str(agent_response).strip()
|
| 23 |
|
| 24 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 25 |
"""
|