Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
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/
|
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 |
# )
|