Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ def separate_audio(audio_path):
|
|
17 |
print(f"{gradio_temp_path=}")
|
18 |
print(f"{audio_filename=}")
|
19 |
|
20 |
-
|
21 |
# command = f"ls {gradio_temp_path}"
|
22 |
-
command = f"cp {audio_path} output/test.wav"
|
23 |
command = command.split()
|
24 |
print(f"{command=}")
|
25 |
|
|
|
17 |
print(f"{gradio_temp_path=}")
|
18 |
print(f"{audio_filename=}")
|
19 |
|
20 |
+
command = f"spleeter separate -o {gradio_temp_path} -p spleeter:2stems {audio_path}"
|
21 |
# command = f"ls {gradio_temp_path}"
|
22 |
+
# command = f"cp {audio_path} output/test.wav"
|
23 |
command = command.split()
|
24 |
print(f"{command=}")
|
25 |
|