Spaces:
Sleeping
Sleeping
helloWorld199
commited on
Commit
•
b8946f0
1
Parent(s):
21d8e7a
ui fix
Browse files- src/webui.py +2 -1
src/webui.py
CHANGED
@@ -261,9 +261,10 @@ if __name__ == '__main__':
|
|
261 |
|
262 |
with gr.Row():
|
263 |
ai_vocals =gr.Audio(label='ai_vocals', show_share_button=False)
|
|
|
264 |
ref_btn.click(update_models_list, None, outputs=rvc_model)
|
265 |
is_webui = gr.Number(value=1, visible=False)
|
266 |
-
|
267 |
inputs=[song_input, rvc_model, pitch, is_webui, index_rate, filter_radius, rms_mix_rate, f0_method, crepe_hop_length,
|
268 |
protect, pitch_all, reverb_rm_size, reverb_wet, reverb_dry, reverb_damping],
|
269 |
outputs=[ai_vocals])
|
|
|
261 |
|
262 |
with gr.Row():
|
263 |
ai_vocals =gr.Audio(label='ai_vocals', show_share_button=False)
|
264 |
+
generate_btn_vocal_only = gr.Button("Generate Vocal Only", variant='primary')
|
265 |
ref_btn.click(update_models_list, None, outputs=rvc_model)
|
266 |
is_webui = gr.Number(value=1, visible=False)
|
267 |
+
generate_btn_vocal_only.click(vocal_only_pipeline,
|
268 |
inputs=[song_input, rvc_model, pitch, is_webui, index_rate, filter_radius, rms_mix_rate, f0_method, crepe_hop_length,
|
269 |
protect, pitch_all, reverb_rm_size, reverb_wet, reverb_dry, reverb_damping],
|
270 |
outputs=[ai_vocals])
|