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

View File

@@ -52,7 +52,7 @@ def create_onnx_app(model_holder: TTSModelHolder) -> gr.Blocks:
initial_id = 0
initial_pth_files = get_model_files(model_names[initial_id])
with gr.Blocks(theme=GRADIO_THEME) as app:
with gr.Blocks() as app:
gr.Markdown(initial_md)
with gr.Row():
with gr.Column():
@@ -100,4 +100,4 @@ if __name__ == "__main__":
assets_root = path_config.assets_root
model_holder = TTSModelHolder(assets_root, "cpu", "", ignore_onnx=True)
app = create_onnx_app(model_holder)
app.launch(inbrowser=True)
app.launch(inbrowser=True, theme=GRADIO_THEME)