Update app.py
Browse files
app.py
CHANGED
@@ -67,10 +67,10 @@ def separate_audio_by_stem(audio_path, stem_count):
|
|
67 |
|
68 |
elif stem_count == 4:
|
69 |
|
70 |
-
vocals_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/vocals.
|
71 |
-
drums_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/drums.
|
72 |
-
bass_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/bass.
|
73 |
-
other_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/other.
|
74 |
|
75 |
print(f"{vocals_path=} \t exists: {os.path.exists(vocals_path)}")
|
76 |
print(f"{drums_path=} \t exists: {os.path.exists(drums_path)}")
|
|
|
67 |
|
68 |
elif stem_count == 4:
|
69 |
|
70 |
+
vocals_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/vocals.mp3"
|
71 |
+
drums_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/drums.mp3"
|
72 |
+
bass_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/bass.mp3"
|
73 |
+
other_path = f"{gradio_temp_path}/separated_audio/{audio_filename}/other.mp3"
|
74 |
|
75 |
print(f"{vocals_path=} \t exists: {os.path.exists(vocals_path)}")
|
76 |
print(f"{drums_path=} \t exists: {os.path.exists(drums_path)}")
|