vortex123 commited on
Commit
ecd8dbf
·
verified ·
1 Parent(s): af6f28e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -103,11 +103,10 @@ with gr.Blocks() as demo:
103
  async for response, _ in respond(message, history, model_name):
104
  yield response, ""
105
 
106
- chatbot.submit(
107
  process_message,
108
  inputs=[chatbot, chatbot.chat_memory, model_selection],
109
  outputs=[chatbot, thinking_output],
110
- scroll_to_output=True,
111
  )
112
 
113
  chatbot.change(
 
103
  async for response, _ in respond(message, history, model_name):
104
  yield response, ""
105
 
106
+ chatbot.on(
107
  process_message,
108
  inputs=[chatbot, chatbot.chat_memory, model_selection],
109
  outputs=[chatbot, thinking_output],
 
110
  )
111
 
112
  chatbot.change(