Spaces:
Runtime error
Runtime error
Update app.py
#1
by
jpdiazpardo
- opened
app.py
CHANGED
@@ -8,7 +8,7 @@ def spleeter(aud, instrument):
|
|
8 |
shutil.rmtree("output")
|
9 |
except FileNotFoundError:
|
10 |
pass
|
11 |
-
separator.separate_to_file(aud
|
12 |
return f"./output/audio_example/{instrument}.wav", f"./output/audio_example/{instrument}.wav"
|
13 |
|
14 |
inputs = [
|
|
|
8 |
shutil.rmtree("output")
|
9 |
except FileNotFoundError:
|
10 |
pass
|
11 |
+
separator.separate_to_file(aud, "output/", filename_format="audio_example/{instrument}.wav")
|
12 |
return f"./output/audio_example/{instrument}.wav", f"./output/audio_example/{instrument}.wav"
|
13 |
|
14 |
inputs = [
|