nateraw commited on
Commit
b35c797
·
1 Parent(s): b521dd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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
- repo_id = "dog/theovon"
16
- ckpt_name = None # or specify a ckpt. ex. "G_1257.pth"
 
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.