Spaces:
Sleeping
Sleeping
Update infer.py
Browse files
infer.py
CHANGED
@@ -669,10 +669,10 @@ with gr.Blocks() as app:
|
|
669 |
tts_text = gr.Textbox(label="TTS text", info="Text to speech input", visible=False)
|
670 |
tts_voice = gr.Dropdown(label="Edge-tts speaker", choices=voices, visible=False, allow_custom_value=False, value="en-US-AnaNeural-Female")
|
671 |
# Splitter
|
672 |
-
vc_split_model = gr.Dropdown(label="
|
673 |
vc_split_log = gr.Textbox(label="Output Information", visible=True, interactive=False)
|
674 |
-
vc_split_yt = gr.Button("Split Audio", variant="primary", visible=False)
|
675 |
-
vc_split = gr.Button("Split Audio", variant="primary", visible=True)
|
676 |
vc_vocal_preview = gr.Audio(label="Vocal Preview", interactive=False, visible=True)
|
677 |
vc_inst_preview = gr.Audio(label="Instrumental Preview", interactive=False, visible=True)
|
678 |
with gr.Column():
|
@@ -685,7 +685,7 @@ with gr.Blocks() as app:
|
|
685 |
label="Pitch extraction algorithm",
|
686 |
info=f0method_info,
|
687 |
choices=f0method_mode,
|
688 |
-
value="
|
689 |
interactive=True,
|
690 |
)
|
691 |
index_rate0 = gr.Slider(
|
|
|
669 |
tts_text = gr.Textbox(label="TTS text", info="Text to speech input", visible=False)
|
670 |
tts_voice = gr.Dropdown(label="Edge-tts speaker", choices=voices, visible=False, allow_custom_value=False, value="en-US-AnaNeural-Female")
|
671 |
# Splitter
|
672 |
+
vc_split_model = gr.Dropdown(label="Splitter Model", choices=["hdemucs_mmi", "htdemucs", "htdemucs_ft", "mdx", "mdx_q", "mdx_extra_q"], allow_custom_value=False, visible=True, value="htdemucs", info="Select the splitter model (Default: htdemucs)")
|
673 |
vc_split_log = gr.Textbox(label="Output Information", visible=True, interactive=False)
|
674 |
+
vc_split_yt = gr.Button("(3)Split Audio", variant="primary", visible=False)
|
675 |
+
vc_split = gr.Button("(3)Split Audio", variant="primary", visible=True)
|
676 |
vc_vocal_preview = gr.Audio(label="Vocal Preview", interactive=False, visible=True)
|
677 |
vc_inst_preview = gr.Audio(label="Instrumental Preview", interactive=False, visible=True)
|
678 |
with gr.Column():
|
|
|
685 |
label="Pitch extraction algorithm",
|
686 |
info=f0method_info,
|
687 |
choices=f0method_mode,
|
688 |
+
value="rvmpe",
|
689 |
interactive=True,
|
690 |
)
|
691 |
index_rate0 = gr.Slider(
|