Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ class BasicAgent:
|
|
| 30 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 31 |
fixed_answer = self.agent.run(question)
|
| 32 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
| 33 |
-
return fixed_answer
|
| 34 |
|
| 35 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 36 |
"""
|
|
|
|
| 30 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 31 |
fixed_answer = self.agent.run(question)
|
| 32 |
print(f"Agent returning fixed answer: {fixed_answer}")
|
| 33 |
+
return str(fixed_answer)
|
| 34 |
|
| 35 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 36 |
"""
|