VanYsa commited on
Commit
b33a63e
·
1 Parent(s): dd403f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -229,7 +229,7 @@ with gr.Blocks(
229
  )
230
 
231
  chat_msg = chat_input.change(add_message, [chatbot, chat_input], [chatbot])
232
- bot_msg = chat_msg.then(bot, [chatbot, chat_input], chatbot, api_name="bot_response")
233
  # bot_msg.then(lambda: gr.Textbox(interactive=False), None, [chat_input])
234
 
235
  submit_button.click(
 
229
  )
230
 
231
  chat_msg = chat_input.change(add_message, [chatbot, chat_input], [chatbot])
232
+ bot_msg = chat_msg.then(bot_response, [chat_input, chatbot, 0.9, 256], chatbot, api_name="bot_response")
233
  # bot_msg.then(lambda: gr.Textbox(interactive=False), None, [chat_input])
234
 
235
  submit_button.click(