kanli commited on
Commit
061d340
·
1 Parent(s): da2cdfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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