Spaces:
Sleeping
Sleeping
helloWorld199
commited on
Update src/main.py
Browse files- src/main.py +1 -1
src/main.py
CHANGED
@@ -181,7 +181,7 @@ def preprocess_song(song_input, mdx_model_params, song_id, is_webui, input_type,
|
|
181 |
orig_song_path = convert_to_stereo(orig_song_path)
|
182 |
|
183 |
display_progress('[~] Separating Vocals from Instrumental...', 0.1, is_webui, progress)
|
184 |
-
vocals_path, instrumentals_path = run_mdx(mdx_model_params, song_output_dir, os.path.join(mdxnet_models_dir, 'UVR-MDX-NET-Voc_FT.onnx'), orig_song_path, denoise=True, keep_orig=keep_orig,
|
185 |
|
186 |
display_progress('[~] Separating Main Vocals from Backup Vocals...', 0.2, is_webui, progress)
|
187 |
backup_vocals_path, main_vocals_path = run_mdx(mdx_model_params, song_output_dir, os.path.join(mdxnet_models_dir, 'UVR_MDXNET_KARA_2.onnx'), vocals_path, suffix='Backup', invert_suffix='Main', denoise=True)
|
|
|
181 |
orig_song_path = convert_to_stereo(orig_song_path)
|
182 |
|
183 |
display_progress('[~] Separating Vocals from Instrumental...', 0.1, is_webui, progress)
|
184 |
+
vocals_path, instrumentals_path = run_mdx(mdx_model_params, song_output_dir, os.path.join(mdxnet_models_dir, 'UVR-MDX-NET-Voc_FT.onnx'), orig_song_path, denoise=True, keep_orig=keep_orig, _stemname1 = "_origvocals", _stemname2 = "_originstr")
|
185 |
|
186 |
display_progress('[~] Separating Main Vocals from Backup Vocals...', 0.2, is_webui, progress)
|
187 |
backup_vocals_path, main_vocals_path = run_mdx(mdx_model_params, song_output_dir, os.path.join(mdxnet_models_dir, 'UVR_MDXNET_KARA_2.onnx'), vocals_path, suffix='Backup', invert_suffix='Main', denoise=True)
|