Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ with gr.Blocks(theme="ocean", css=custom_css) as demo:
|
|
38 |
return "", chat_history
|
39 |
|
40 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
41 |
-
msg.blur(textbox_dynamic_ui, inputs=[msg], outputs=[msg], show_progress='hidden', js=True, preprocess=False, postprocess=False)
|
42 |
btn.click(respond, [msg, chatbot], [msg, chatbot])
|
43 |
|
44 |
demo.launch()
|
|
|
38 |
return "", chat_history
|
39 |
|
40 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
41 |
+
msg.blur(textbox_dynamic_ui, inputs=[msg], outputs=[msg], show_progress='hidden', ) #js=True, preprocess=False, postprocess=False)
|
42 |
btn.click(respond, [msg, chatbot], [msg, chatbot])
|
43 |
|
44 |
demo.launch()
|