Spaces:
Runtime error
Runtime error
Update src/main.py
Browse files- src/main.py +1 -1
src/main.py
CHANGED
@@ -187,7 +187,7 @@ def preprocess_song(song_input, mdx_model_params, song_id, is_webui, input_type,
|
|
187 |
display_progress('[~] Applying DeReverb to Vocals...', 0.3, is_webui, progress)
|
188 |
_, main_vocals_dereverb_path = run_mdx(mdx_model_params, song_output_dir, os.path.join(mdxnet_models_dir, 'Reverb_HQ_By_FoxJoy.onnx'), main_vocals_path, invert_suffix='DeReverb', exclude_main=True, denoise=True)
|
189 |
|
190 |
-
return orig_song_path, vocals_path, instrumentals_path,
|
191 |
|
192 |
|
193 |
def voice_change(voice_model, vocals_path, output_path, pitch_change, f0_method, index_rate, filter_radius, rms_mix_rate, protect, crepe_hop_length, is_webui):
|
|
|
187 |
display_progress('[~] Applying DeReverb to Vocals...', 0.3, is_webui, progress)
|
188 |
_, main_vocals_dereverb_path = run_mdx(mdx_model_params, song_output_dir, os.path.join(mdxnet_models_dir, 'Reverb_HQ_By_FoxJoy.onnx'), main_vocals_path, invert_suffix='DeReverb', exclude_main=True, denoise=True)
|
189 |
|
190 |
+
return orig_song_path, vocals_path, instrumentals_path, backup_vocals_path, main_vocals_dereverb_path
|
191 |
|
192 |
|
193 |
def voice_change(voice_model, vocals_path, output_path, pitch_change, f0_method, index_rate, filter_radius, rms_mix_rate, protect, crepe_hop_length, is_webui):
|