Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
with gr.Blocks() as demo:
|
| 2 |
chatbot = gr.Chatbot()
|
| 3 |
msg = gr.Textbox()
|
|
@@ -17,5 +19,4 @@ with gr.Blocks() as demo:
|
|
| 17 |
)
|
| 18 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 19 |
|
| 20 |
-
|
| 21 |
-
demo.launch()
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
with gr.Blocks() as demo:
|
| 4 |
chatbot = gr.Chatbot()
|
| 5 |
msg = gr.Textbox()
|
|
|
|
| 19 |
)
|
| 20 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 21 |
|
| 22 |
+
demo.launch()
|
|
|