Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -479,9 +479,10 @@ examples=[["What are the biggest news stories today?", None, None, None, None, N
|
|
479 |
]
|
480 |
|
481 |
with gr.Blocks() as iface:
|
482 |
-
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
|
|
483 |
msg = gr.Textbox()
|
484 |
-
|
485 |
msg.submit(run, [msg, chatbot], [msg, chatbot])
|
486 |
iface.launch()
|
487 |
|
|
|
479 |
]
|
480 |
|
481 |
with gr.Blocks() as iface:
|
482 |
+
#chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
483 |
+
chatbot=gr.Chatbot()
|
484 |
msg = gr.Textbox()
|
485 |
+
clear = gr.ChatbotlearButton([msg, chatbot])
|
486 |
msg.submit(run, [msg, chatbot], [msg, chatbot])
|
487 |
iface.launch()
|
488 |
|