sayashi commited on
Commit
cf01dd3
1 Parent(s): adda096

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -136,4 +136,6 @@ if __name__ == '__main__':
136
  lang.change(change_lang, inputs=[lang], outputs=[ns, nsw, ls])
137
  with gr.TabItem("可用人物一览"):
138
  gr.Radio(label="Speaker", choices=speakers, interactive=False, type="index")
 
 
139
  app.queue(concurrency_count=1, api_open=args.api).launch(share=args.share)
 
136
  lang.change(change_lang, inputs=[lang], outputs=[ns, nsw, ls])
137
  with gr.TabItem("可用人物一览"):
138
  gr.Radio(label="Speaker", choices=speakers, interactive=False, type="index")
139
+ if args.colab:
140
+ webbrowser.open("http://127.0.0.1:7860")
141
  app.queue(concurrency_count=1, api_open=args.api).launch(share=args.share)