mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-16 00:16:25 +08:00
fix v2 onnx export
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user