Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ class BasicAgent:
|
|
43 |
print(type(prompt))
|
44 |
print(type(question))
|
45 |
print(type(prompt + question))
|
46 |
-
answer = self.agent.run(prompt + question)
|
47 |
print(type(answer))
|
48 |
print(f"Agent returning answer: {str(answer)}")
|
49 |
return str(answer).replace("FINAL ANSWER:", "").strip()
|
|
|
43 |
print(type(prompt))
|
44 |
print(type(question))
|
45 |
print(type(prompt + question))
|
46 |
+
answer = self.agent.run(prompt + question)
|
47 |
print(type(answer))
|
48 |
print(f"Agent returning answer: {str(answer)}")
|
49 |
return str(answer).replace("FINAL ANSWER:", "").strip()
|