Spaces:
Paused
Paused
Update app.py
Browse files
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(
|
74 |
-
os.makedirs(
|
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,
|