Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,8 +54,8 @@ with gr.Blocks(css="#chatbot{height:300px} .overflow-y-auto{height:500px}") as r
|
|
| 54 |
submit_btn = gr.Button("提交")
|
| 55 |
txt.submit(answer, [txt, state], [chatbot, state])
|
| 56 |
submit_btn.click(answer, [txt, state], [chatbot, state])
|
| 57 |
-
clear = gr.ClearButton([txt, chatbot])
|
| 58 |
|
| 59 |
-
rxbot.launch()
|
| 60 |
|
| 61 |
|
|
|
|
| 54 |
submit_btn = gr.Button("提交")
|
| 55 |
txt.submit(answer, [txt, state], [chatbot, state])
|
| 56 |
submit_btn.click(answer, [txt, state], [chatbot, state])
|
| 57 |
+
# clear = gr.ClearButton([txt, chatbot])
|
| 58 |
|
| 59 |
+
rxbot.launch(share=True, auth=("username", "password"))
|
| 60 |
|
| 61 |
|