Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,6 +94,7 @@ def separate_all_stems(audio_file_path: str, model_name: str):
|
|
| 94 |
return [drums, bass, vocals, other]
|
| 95 |
|
| 96 |
# Process Function
|
|
|
|
| 97 |
def process_fn(audio_file_path, model_name):
|
| 98 |
try:
|
| 99 |
if model_name not in DEMUX_MODELS:
|
|
|
|
| 94 |
return [drums, bass, vocals, other]
|
| 95 |
|
| 96 |
# Process Function
|
| 97 |
+
@spaces.GPU
|
| 98 |
def process_fn(audio_file_path, model_name):
|
| 99 |
try:
|
| 100 |
if model_name not in DEMUX_MODELS:
|