From 75d7c03d412cd8d17a086f9b29be5e03e31f4739 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Thu, 15 Jun 2023 15:26:57 +0000 Subject: [PATCH] fix v2 onnx export --- infer-web.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infer-web.py b/infer-web.py index 551b53c..6dab91a 100644 --- a/infer-web.py +++ b/infer-web.py @@ -1826,7 +1826,7 @@ with gr.Blocks() as app: [ckpt_path2, save_name, sr__, if_f0__, info___, version_1], info7, ) - + with gr.TabItem(i18n("Onnx导出")): with gr.Row(): ckpt_dir = gr.Textbox(label=i18n("RVC模型路径"), value="", interactive=True) @@ -1835,8 +1835,8 @@ with gr.Blocks() as app: label=i18n("Onnx输出路径"), value="", interactive=True ) with gr.Row(): - moevs = gr.Checkbox(label=i18n("MoeVS模型"), value=True) - infoOnnx = gr.Label(label="Null") + moevs = gr.Checkbox(label=i18n("MoeVS模型"), value=False,visible=False) + infoOnnx = gr.Label(label="info") with gr.Row(): butOnnx = gr.Button(i18n("导出Onnx模型"), variant="primary") butOnnx.click(export_onnx, [ckpt_dir, onnx_dir, moevs], infoOnnx)