mirror of https://github.com/THUDM/ChatGLM-6B
fix: websocket cannot send msg to server
for https://github.com/THUDM/ChatGLM-6B/issues/85pull/105/head
parent
642147bf21
commit
14eba1f83c
|
@ -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, inbrowser=True)
|
||||
demo.queue().launch(share=True, inbrowser=True, server_name="0.0.0.0")
|
||||
|
|
Loading…
Reference in New Issue