Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,11 @@ from huggingface_hub import hf_hub_download, list_repo_files
|
|
14 |
from so_vits_svc_fork.hparams import HParams
|
15 |
from so_vits_svc_fork.inference.core import Svc
|
16 |
|
|
|
|
|
17 |
|
|
|
|
|
18 |
###################################################################
|
19 |
# REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME/SETTINGS
|
20 |
###################################################################
|
|
|
14 |
from so_vits_svc_fork.hparams import HParams
|
15 |
from so_vits_svc_fork.inference.core import Svc
|
16 |
|
17 |
+
from huggingface_hub import create_repo, upload_folder, login, list_repo_files, delete_file
|
18 |
+
os.environ["HF_TOKEN"] = "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"
|
19 |
|
20 |
+
if os.environ.get("HF_TOKEN"):
|
21 |
+
login(os.environ.get("HF_TOKEN"))
|
22 |
###################################################################
|
23 |
# REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME/SETTINGS
|
24 |
###################################################################
|