OuroborosM commited on
Commit
1e22823
·
1 Parent(s): de42c12

correct chathmi2 with agent.run

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def chathmi(message, history):
94
  # yield history
95
 
96
  def chathmi2(message, history):
97
- response = agent.run(input = message)
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