Spaces:
Runtime error
Runtime error
jpdiazpardo
commited on
Commit
•
b70de0b
1
Parent(s):
4e4199e
Update app.py
Browse files
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 = [
|