vpavlenko commited on
Commit
256bf62
·
1 Parent(s): aab2da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,8 +70,8 @@ def compress_files(demucs_output_path, dissector_file, original_audio):
70
  with ThreadPoolExecutor(max_workers=8) as executor:
71
  list(executor.map(convert_to_mp3, wav_files, mp3_files))
72
 
73
- if not os.path.exists(basic_pitch_dir):
74
- os.makedirs(basic_pitch_dir)
75
  command = [
76
  "basic-pitch",
77
  BASIC_PITCH_DIR,
 
70
  with ThreadPoolExecutor(max_workers=8) as executor:
71
  list(executor.map(convert_to_mp3, wav_files, mp3_files))
72
 
73
+ if not os.path.exists(BASIC_PITCH_DIR):
74
+ os.makedirs(BASIC_PITCH_DIR)
75
  command = [
76
  "basic-pitch",
77
  BASIC_PITCH_DIR,