Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,9 @@ from so_vits_svc_fork.inference.core import Svc
|
|
12 |
##########################################################
|
13 |
# REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME
|
14 |
##########################################################
|
15 |
-
|
16 |
-
|
|
|
17 |
##########################################################
|
18 |
|
19 |
# Figure out the latest generator by taking highest value one.
|
|
|
12 |
##########################################################
|
13 |
# REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME
|
14 |
##########################################################
|
15 |
+
app_config = json.loads(Path("app_config.json").read_text())
|
16 |
+
repo_id = app_config['repo_id']
|
17 |
+
ckpt_name = app_config['ckpt_name']
|
18 |
##########################################################
|
19 |
|
20 |
# Figure out the latest generator by taking highest value one.
|