jpdiazpardo commited on
Commit
b70de0b
1 Parent(s): 4e4199e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.name, "output/", filename_format="audio_example/{instrument}.wav")
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 = [