diff --git a/web_demo.py b/web_demo.py index 39709a7..88a6dc8 100644 --- a/web_demo.py +++ b/web_demo.py @@ -42,4 +42,4 @@ with gr.Blocks() as demo: temperature = gr.Slider(0, 1, value=0.95, step=0.01, label="Temperature", interactive=True) button = gr.Button("Generate") button.click(predict, [txt, max_length, top_p, temperature, state], [state] + text_boxes) -demo.queue().launch(share=True, inbrowser=True) \ No newline at end of file +demo.queue().launch(share=False, inbrowser=True)