Spaces:
Runtime error
Runtime error
Update src/webui.py
Browse files- src/webui.py +3 -2
src/webui.py
CHANGED
@@ -231,7 +231,8 @@ if __name__ == '__main__':
|
|
231 |
with gr.Row():
|
232 |
clear_btn = gr.ClearButton(value='Clear', components=[song_input, rvc_model, keep_files, local_file])
|
233 |
generate_btn = gr.Button("Generate", variant='primary')
|
234 |
-
|
|
|
235 |
|
236 |
ref_btn.click(update_models_list, None, outputs=rvc_model)
|
237 |
is_webui = gr.Number(value=1, visible=False)
|
@@ -240,7 +241,7 @@ if __name__ == '__main__':
|
|
240 |
inst_gain, index_rate, filter_radius, rms_mix_rate, f0_method, crepe_hop_length,
|
241 |
protect, pitch_all, reverb_rm_size, reverb_wet, reverb_dry, reverb_damping,
|
242 |
output_format],
|
243 |
-
outputs=[
|
244 |
clear_btn.click(lambda: [0, 0, 0, 0, 0.5, 3, 0.25, 0.33, 'rmvpe', 128, 0, 0.15, 0.2, 0.8, 0.7, 'mp3', None],
|
245 |
outputs=[pitch, main_gain, backup_gain, inst_gain, index_rate, filter_radius, rms_mix_rate,
|
246 |
protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
|
|
|
231 |
with gr.Row():
|
232 |
clear_btn = gr.ClearButton(value='Clear', components=[song_input, rvc_model, keep_files, local_file])
|
233 |
generate_btn = gr.Button("Generate", variant='primary')
|
234 |
+
ai_vocals = gr.Audio(label='ai vocals', show_share_button=False)
|
235 |
+
instrumentals = gr.Audio(label='instrumentals', show_share_button=False)
|
236 |
|
237 |
ref_btn.click(update_models_list, None, outputs=rvc_model)
|
238 |
is_webui = gr.Number(value=1, visible=False)
|
|
|
241 |
inst_gain, index_rate, filter_radius, rms_mix_rate, f0_method, crepe_hop_length,
|
242 |
protect, pitch_all, reverb_rm_size, reverb_wet, reverb_dry, reverb_damping,
|
243 |
output_format],
|
244 |
+
outputs=[ai_vocals, instrumentals])
|
245 |
clear_btn.click(lambda: [0, 0, 0, 0, 0.5, 3, 0.25, 0.33, 'rmvpe', 128, 0, 0.15, 0.2, 0.8, 0.7, 'mp3', None],
|
246 |
outputs=[pitch, main_gain, backup_gain, inst_gain, index_rate, filter_radius, rms_mix_rate,
|
247 |
protect, f0_method, crepe_hop_length, pitch_all, reverb_rm_size, reverb_wet,
|