Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -350,14 +350,9 @@ def combine_vocal_and_inst(model_name, song_name, song_id, split_model, cover_so
|
|
350 |
return output_path
|
351 |
|
352 |
@spaces.GPU()
|
353 |
-
def load_fairseq():
|
354 |
-
from fairseq import checkpoint_utils
|
355 |
-
|
356 |
-
|
357 |
def load_hubert():
|
358 |
global hubert_model
|
359 |
-
|
360 |
-
load_fairseq()
|
361 |
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
|
362 |
["hubert_base.pt"],
|
363 |
suffix="",
|
|
|
350 |
return output_path
|
351 |
|
352 |
@spaces.GPU()
|
|
|
|
|
|
|
|
|
353 |
def load_hubert():
|
354 |
global hubert_model
|
355 |
+
from fairseq import checkpoint_utils
|
|
|
356 |
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
|
357 |
["hubert_base.pt"],
|
358 |
suffix="",
|