forked from mrq/tortoise-tts
Oops
This commit is contained in:
parent
729be135ef
commit
145298b766
3
app.py
3
app.py
|
@ -576,7 +576,8 @@ if __name__ == "__main__":
|
||||||
import uvicorn
|
import uvicorn
|
||||||
uvicorn.run("app:app", host=args.listen_host, port=args.listen_port)
|
uvicorn.run("app:app", host=args.listen_host, port=args.listen_port)
|
||||||
else:
|
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()
|
tts = setup_tortoise()
|
||||||
|
|
||||||
webui.block_thread()
|
webui.block_thread()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user