Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ import accelerate
|
|
| 13 |
# preprocess and crop audio file
|
| 14 |
def audio_preprocess(input_file):
|
| 15 |
# separate music and vocal
|
| 16 |
-
|
| 17 |
#separator.separate_to_file(input_file, output_file)
|
| 18 |
separated_audio = separator.separate(input_file)
|
| 19 |
|
|
|
|
| 13 |
# preprocess and crop audio file
|
| 14 |
def audio_preprocess(input_file):
|
| 15 |
# separate music and vocal
|
| 16 |
+
separator = Separator('spleeter:2stems')
|
| 17 |
#separator.separate_to_file(input_file, output_file)
|
| 18 |
separated_audio = separator.separate(input_file)
|
| 19 |
|