Add the web UI built by Gradio

This commit is contained in:
zhaohongfei 2023-07-18 15:58:07 +08:00
parent e4d66ecfe0
commit f62f682e50

View File

@ -215,7 +215,8 @@ def run() -> None:
start()
elif roop.globals.gradio_ui:
demo = gradio_ui.init(start, destroy)
demo.launch()
demo.queue()
demo.launch(share=True)
else:
window = ui.init(start, destroy)
window.mainloop()