Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -424,11 +424,15 @@ def rvc_models(model_name):
|
|
424 |
categories.append(["Models", "", models])
|
425 |
return vc, net_g, index_files, tgt_sr, version
|
426 |
|
|
|
|
|
|
|
427 |
|
428 |
singers="您的专属AI歌手阵容:"
|
429 |
|
430 |
@spaces.GPU(duration=80)
|
431 |
def infer_gpu(net_g, audio, f0_up_key, index_file, tgt_sr, version, f0_file=None):
|
|
|
432 |
from fairseq import checkpoint_utils
|
433 |
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
|
434 |
["hubert_base.pt"],
|
|
|
424 |
categories.append(["Models", "", models])
|
425 |
return vc, net_g, index_files, tgt_sr, version
|
426 |
|
427 |
+
@spaces.GPU
|
428 |
+
from fairseq import checkpoint_utils
|
429 |
+
|
430 |
|
431 |
singers="您的专属AI歌手阵容:"
|
432 |
|
433 |
@spaces.GPU(duration=80)
|
434 |
def infer_gpu(net_g, audio, f0_up_key, index_file, tgt_sr, version, f0_file=None):
|
435 |
+
|
436 |
from fairseq import checkpoint_utils
|
437 |
models, _, _ = checkpoint_utils.load_model_ensemble_and_task(
|
438 |
["hubert_base.pt"],
|