dahaoGPT commited on
Commit
d08f41d
·
1 Parent(s): 7921913

add share paremeter

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,4 +25,4 @@ with gr.Blocks() as chatglm2bot:
25
  button = gr.Button("Generate")
26
  txt.submit(beginchat, [txt, state], [chatbot, state])
27
  button.click(beginchat, [txt, state], [chatbot, state])
28
- chatglm2bot.queue().launch()
 
25
  button = gr.Button("Generate")
26
  txt.submit(beginchat, [txt, state], [chatbot, state])
27
  button.click(beginchat, [txt, state], [chatbot, state])
28
+ chatglm2bot.queue().launch(share=True, inbrowser=True)