Update app.py
Browse files
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(
|
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(
|