Spaces:
Runtime error
Runtime error
feat: sovits model
Browse files
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[
|
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):
|