Add inbrower for web demo

pull/62/head^2
duzx16 2023-03-16 00:44:07 +08:00
parent a8705dbe1f
commit e565185c29
1 changed files with 1 additions and 1 deletions

View File

@ -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)