Wops1 commited on
Commit
efe211d
·
verified ·
1 Parent(s): a46f7e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def load_model(sovits_path, gpt_path):
77
  break
78
 
79
  if dict_s2 is None:
80
- dict_s2 = torch.load(sovits_path, map_location="cpu", weights_only=False)
81
  hps = dict_s2["config"]
82
 
83
  if dict_s1 is None:
 
77
  break
78
 
79
  if dict_s2 is None:
80
+ dict_s2 = torch.load(sovits_path, map_location="cpu")
81
  hps = dict_s2["config"]
82
 
83
  if dict_s1 is None: