lorneluo commited on
Commit
e09386e
1 Parent(s): 59d806a

chang inst filename

Browse files
Files changed (1) hide show
  1. inst.py +1 -1
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}.instrumental.{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
 
 
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