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

@@ -361,7 +361,7 @@ def create_inference_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)
gr.Markdown(terms_of_use_md)
null_models = gr.State({})
@@ -742,4 +742,4 @@ if __name__ == "__main__":
assets_root, device, torch_device_to_onnx_providers(device)
)
app = create_inference_app(model_holder)
app.launch(inbrowser=True)
app.launch(inbrowser=True, theme=GRADIO_THEME)