wsj1995 commited on
Commit
87c4604
·
1 Parent(s): ffe55dc

feat: sovits model

Browse files
Files changed (1) hide show
  1. GPT_SoVITS/inference_webui.py +1 -1
GPT_SoVITS/inference_webui.py CHANGED
@@ -118,7 +118,7 @@ with open("./weight.json", "r", encoding="utf-8") as file:
118
  gpt_path = os.environ.get("gpt_path", weight_data.get(
119
  "GPT", {}).get(version, GPT_names[-1]))
120
  sovits_path = os.environ.get("sovits_path", weight_data.get(
121
- "SoVITS", {}).get(version, SoVITS_names[0]))
122
  if isinstance(gpt_path, list):
123
  gpt_path = gpt_path[0]
124
  if isinstance(sovits_path, list):
 
118
  gpt_path = os.environ.get("gpt_path", weight_data.get(
119
  "GPT", {}).get(version, GPT_names[-1]))
120
  sovits_path = os.environ.get("sovits_path", weight_data.get(
121
+ "SoVITS", {}).get(version, SoVITS_names[-1]))
122
  if isinstance(gpt_path, list):
123
  gpt_path = gpt_path[0]
124
  if isinstance(sovits_path, list):