Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ from so_vits_svc_fork.inference.core import Svc
|
|
24 |
token = os.getenv('HF_TOKEN')
|
25 |
|
26 |
# Instantiate the Hugging Face model
|
27 |
-
model_names = ["nijisakai/sunyanzi","nijisakai/linyilian","nijisakai/wangjie"]
|
28 |
-
tokenizers = ["nijisakai/sunyanzi","nijisakai/linyilian","nijisakai/wangjie"]
|
29 |
models = [AutoModel.from_pretrained(model_name, use_auth_token=token) for model_name in model_names]
|
30 |
|
31 |
|
@@ -38,7 +38,7 @@ models = [AutoModel.from_pretrained(model_name, use_auth_token=token) for model_
|
|
38 |
# REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME/SETTINGS
|
39 |
###################################################################
|
40 |
# The Hugging Face Hub repo ID - 在这里修改repo_id,可替换成任何已经训练好的模型!
|
41 |
-
repo_ids = ["nijisakai/sunyanzi","nijisakai/linyilian","nijisakai/wangjie","nijisakai/Eric_Cartman"]
|
42 |
|
43 |
# If None, Uses latest ckpt in the repo
|
44 |
ckpt_name = None
|
|
|
24 |
token = os.getenv('HF_TOKEN')
|
25 |
|
26 |
# Instantiate the Hugging Face model
|
27 |
+
model_names = ["nijisakai/JayChou","nijisakai/sunyanzi","nijisakai/linyilian","nijisakai/wangjie"]
|
28 |
+
#tokenizers = ["nijisakai/JayChou","nijisakai/sunyanzi","nijisakai/linyilian","nijisakai/wangjie"]
|
29 |
models = [AutoModel.from_pretrained(model_name, use_auth_token=token) for model_name in model_names]
|
30 |
|
31 |
|
|
|
38 |
# REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME/SETTINGS
|
39 |
###################################################################
|
40 |
# The Hugging Face Hub repo ID - 在这里修改repo_id,可替换成任何已经训练好的模型!
|
41 |
+
repo_ids = ["nijisakai/JayChou","nijisakai/sunyanzi","nijisakai/linyilian","nijisakai/wangjie","nijisakai/Eric_Cartman"]
|
42 |
|
43 |
# If None, Uses latest ckpt in the repo
|
44 |
ckpt_name = None
|