From 8c30cd1aa4e15dc096110004a97673af423d3a28 Mon Sep 17 00:00:00 2001 From: mrq Date: Thu, 9 Feb 2023 20:49:22 +0000 Subject: [PATCH] Oops --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 50360de..bbf5bf0 100755 --- a/app.py +++ b/app.py @@ -576,7 +576,8 @@ if __name__ == "__main__": import uvicorn uvicorn.run("app:app", host=args.listen_host, port=args.listen_port) else: - webui = setup_gradio().launch(share=args.share, prevent_thread_lock=True) + webui = setup_gradio() + webui.launch(share=args.share, prevent_thread_lock=True) tts = setup_tortoise() webui.block_thread()