CCockrum commited on
Commit
11c328a
·
verified ·
1 Parent(s): 20bfe49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def run_demucs(audio_path, selected_stems, model_name=DEFAULT_MODEL):
16
  logger.info(f"Running Demucs on {audio_path}")
17
  output_dir = tempfile.mkdtemp()
18
 
19
- cmd = f"python -m demucs -n {model_name} -o {output_dir} \"{audio_path}\""
20
  logger.info(f"Executing command: {cmd}")
21
 
22
  process = subprocess.Popen(
 
16
  logger.info(f"Running Demucs on {audio_path}")
17
  output_dir = tempfile.mkdtemp()
18
 
19
+ cmd = f"{sys.executable} -m demucs -n {model_name} -o {output_dir} \"{audio_path}\""
20
  logger.info(f"Executing command: {cmd}")
21
 
22
  process = subprocess.Popen(