Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ class BasicAgent:
|
|
40 |
"""
|
41 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
42 |
answer = self.agent.run(prompt + question)
|
43 |
-
print(f"Agent returning
|
44 |
return answer.replace("FINAL ANSWER:", "").strip()
|
45 |
|
46 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
|
40 |
"""
|
41 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
42 |
answer = self.agent.run(prompt + question)
|
43 |
+
print(f"Agent returning answer: {answer}")
|
44 |
return answer.replace("FINAL ANSWER:", "").strip()
|
45 |
|
46 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|