Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
490206a
1
Parent(s):
0c3d40e
Update separate_scripts/separate.py
Browse files
separate_scripts/separate.py
CHANGED
@@ -15,7 +15,7 @@ def separate(args):
|
|
15 |
|
16 |
audio_path = args.audio_path
|
17 |
source_type = args.source_type
|
18 |
-
device = "
|
19 |
|
20 |
# Load audio.
|
21 |
audio, fs = librosa.load(audio_path, sr=sample_rate, mono=False)
|
|
|
15 |
|
16 |
audio_path = args.audio_path
|
17 |
source_type = args.source_type
|
18 |
+
device = "cpu" # "cuda" | "cpu"
|
19 |
|
20 |
# Load audio.
|
21 |
audio, fs = librosa.load(audio_path, sr=sample_rate, mono=False)
|