This commit is contained in:
tuna2134
2026-07-23 12:06:17 +09:00
parent 9cfaa27f3f
commit fd72a19384
11 changed files with 22 additions and 21 deletions

3
app.py
View File

@@ -49,7 +49,7 @@ model_holder = TTSModelHolder(
ignore_onnx=True,
)
with gr.Blocks(theme=GRADIO_THEME) as app:
with gr.Blocks() as app:
gr.Markdown(f"# Style-Bert-VITS2 WebUI (version {VERSION})")
with gr.Tabs():
with gr.Tab("音声合成"):
@@ -66,6 +66,7 @@ with gr.Blocks(theme=GRADIO_THEME) as app:
create_onnx_app(model_holder=model_holder)
app.launch(
theme=GRADIO_THEME,
server_name=args.host,
server_port=args.port,
inbrowser=not args.no_autolaunch,