diff --git a/web_demo.py b/web_demo.py index 315978e..b240d27 100644 --- a/web_demo.py +++ b/web_demo.py @@ -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)