xhlm123 commited on
Commit
8c04ed9
·
verified ·
1 Parent(s): 50d5c05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,14 +24,14 @@ if os.path.exists("./gweight.txt"):
24
  "gpt_path", gweight_data)
25
  else:
26
  gpt_path = os.environ.get(
27
- "gpt_path", "GPT_SoVITS/pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt")
28
 
29
  if os.path.exists("./sweight.txt"):
30
  with open("./sweight.txt", 'r', encoding="utf-8") as file:
31
  sweight_data = file.read()
32
  sovits_path = os.environ.get("sovits_path", sweight_data)
33
  else:
34
- sovits_path = os.environ.get("sovits_path", "GPT_SoVITS/pretrained_models/s2G488k.pth")
35
  # gpt_path = os.environ.get(
36
  # "gpt_path", "pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt"
37
  # )
 
24
  "gpt_path", gweight_data)
25
  else:
26
  gpt_path = os.environ.get(
27
+ "gpt_path", "GPT_SoVITS/pretrained_models/hutao-e15.ckpt")
28
 
29
  if os.path.exists("./sweight.txt"):
30
  with open("./sweight.txt", 'r', encoding="utf-8") as file:
31
  sweight_data = file.read()
32
  sovits_path = os.environ.get("sovits_path", sweight_data)
33
  else:
34
+ sovits_path = os.environ.get("sovits_path", "GPT_SoVITS/pretrained_models/hutao_e12_s1740.pth")
35
  # gpt_path = os.environ.get(
36
  # "gpt_path", "pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt"
37
  # )