Spaces:
Runtime error
Runtime error
Commit
·
1e22823
1
Parent(s):
de42c12
correct chathmi2 with agent.run
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def chathmi(message, history):
|
|
94 |
# yield history
|
95 |
|
96 |
def chathmi2(message, history):
|
97 |
-
response = agent.run(
|
98 |
time.sleep(0.3)
|
99 |
print(history)
|
100 |
yield response
|
|
|
94 |
# yield history
|
95 |
|
96 |
def chathmi2(message, history):
|
97 |
+
response = agent.run(message)
|
98 |
time.sleep(0.3)
|
99 |
print(history)
|
100 |
yield response
|