Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,8 @@ with gr.Blocks() as demo:
|
|
37 |
chatbot = gr.Chatbot()
|
38 |
msg = gr.Textbox(interactive=True, )
|
39 |
with gr.Row():
|
40 |
-
clear = gr.ClearButton(
|
41 |
-
send_btn = gr.Button("Send 📨", variant='primary'
|
42 |
msg.submit(fn=chat_mem, inputs=[msg, chatbot], outputs=[msg, chatbot])
|
43 |
send_btn.click(fn=chat_mem, inputs=[msg, chatbot], outputs=[msg, chatbot])
|
44 |
|
|
|
37 |
chatbot = gr.Chatbot()
|
38 |
msg = gr.Textbox(interactive=True, )
|
39 |
with gr.Row():
|
40 |
+
clear = gr.ClearButton(, [msg, chatbot], icon="🧹")
|
41 |
+
send_btn = gr.Button("Send 📨", variant='primary')
|
42 |
msg.submit(fn=chat_mem, inputs=[msg, chatbot], outputs=[msg, chatbot])
|
43 |
send_btn.click(fn=chat_mem, inputs=[msg, chatbot], outputs=[msg, chatbot])
|
44 |
|