Spaces:
Sleeping
Sleeping
Update memo/utils/audio_utils.py
Browse files
memo/utils/audio_utils.py
CHANGED
@@ -86,8 +86,8 @@ def preprocess_audio(
|
|
86 |
output_single_stem="vocals",
|
87 |
model_file_dir=os.path.dirname(vocal_separator_model),
|
88 |
)
|
89 |
-
|
90 |
-
vocal_separator.load_model("UVR-MDX-NET-Inst_HQ_3.onnx")
|
91 |
assert vocal_separator.model_instance is not None, "Failed to load audio separation model."
|
92 |
|
93 |
# Perform vocal separation if applicable
|
|
|
86 |
output_single_stem="vocals",
|
87 |
model_file_dir=os.path.dirname(vocal_separator_model),
|
88 |
)
|
89 |
+
vocal_separator.load_model(os.path.basename(vocal_separator_model))
|
90 |
+
#vocal_separator.load_model("UVR-MDX-NET-Inst_HQ_3.onnx")
|
91 |
assert vocal_separator.model_instance is not None, "Failed to load audio separation model."
|
92 |
|
93 |
# Perform vocal separation if applicable
|