mirror of https://github.com/THUDM/ChatGLM-6B
Add inbrower for web demo
parent
a8705dbe1f
commit
e565185c29
|
@ -37,4 +37,4 @@ with gr.Blocks() as demo:
|
|||
with gr.Column(scale=1):
|
||||
button = gr.Button("Generate")
|
||||
button.click(predict, [txt, state], [state] + text_boxes)
|
||||
demo.queue().launch(share=True)
|
||||
demo.queue().launch(share=True, inbrowser=True)
|
||||
|
|
Loading…
Reference in New Issue