Spaces:
Runtime error
Runtime error
add share paremeter
Browse files
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)
|