thepianist9 commited on
Commit
630d47c
1 Parent(s): d62e0b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -624,12 +624,11 @@ if __name__ == "__main__":
624
  demo = gr.TabbedInterface(interface_list = [demo_app, demo_img, demo_multi, demo_vits],
625
  tab_names = ["app", "image", "multi", "app_vits"],
626
  title = "Linly-Talker WebUI")
627
- demo.launch(server_name="127.0.0.1", # 本地端口localhost:127.0.0.1 全局端口转发:"0.0.0.0"
628
- server_port=port,
629
  # 似乎在Gradio4.0以上版本可以不使用证书也可以进行麦克风对话
630
  ssl_certfile=ssl_certfile,
631
  ssl_keyfile=ssl_keyfile,
632
  ssl_verify=False,
633
- share=True,
634
  debug=True,
635
  )
 
624
  demo = gr.TabbedInterface(interface_list = [demo_app, demo_img, demo_multi, demo_vits],
625
  tab_names = ["app", "image", "multi", "app_vits"],
626
  title = "Linly-Talker WebUI")
627
+ demo.launch(share=True,
 
628
  # 似乎在Gradio4.0以上版本可以不使用证书也可以进行麦克风对话
629
  ssl_certfile=ssl_certfile,
630
  ssl_keyfile=ssl_keyfile,
631
  ssl_verify=False,
632
+
633
  debug=True,
634
  )