chang inst filename
Browse files
inst.py
CHANGED
@@ -19,7 +19,7 @@ from separate import SeperateDemucs, SeperateMDX, SeperateMDXC, SeperateVR, save
|
|
19 |
|
20 |
def run_ensemble_models(audio_path, export_path, format=WAV, clean=True):
|
21 |
vocals_final_path = Path(export_path) / f"{Path(audio_path).stem}.vocal.{format.lower()}"
|
22 |
-
instrumental_final_path = Path(export_path) / f"{Path(audio_path).stem}.
|
23 |
if os.path.isfile(instrumental_final_path) and os.path.isfile(vocals_final_path):
|
24 |
return instrumental_final_path, vocals_final_path
|
25 |
|
|
|
19 |
|
20 |
def run_ensemble_models(audio_path, export_path, format=WAV, clean=True):
|
21 |
vocals_final_path = Path(export_path) / f"{Path(audio_path).stem}.vocal.{format.lower()}"
|
22 |
+
instrumental_final_path = Path(export_path) / f"{Path(audio_path).stem}.inst.{format.lower()}"
|
23 |
if os.path.isfile(instrumental_final_path) and os.path.isfile(vocals_final_path):
|
24 |
return instrumental_final_path, vocals_final_path
|
25 |
|