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