baaastien commited on
Commit
595d2a4
·
1 Parent(s): 3405cbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ separator = Separator('spleeter:2stems')
12
  def extract_stems(audio):
13
 
14
  # initiate a folder for splitted files
15
- foldername = str(random2.randrange(100000000))
16
 
17
  # Separate audio input. Synchronous is true to wait for the end of split before going further
18
  separator.separate_to_file(audio, foldername, filename_format= foldername + "/{instrument}.wav", synchronous=True)
 
12
  def extract_stems(audio):
13
 
14
  # initiate a folder for splitted files
15
+ foldername = "./output/" + str(random2.randrange(100000000))
16
 
17
  # Separate audio input. Synchronous is true to wait for the end of split before going further
18
  separator.separate_to_file(audio, foldername, filename_format= foldername + "/{instrument}.wav", synchronous=True)