laubonghaudoi
commited on
Commit
•
1436945
1
Parent(s):
dace3bd
Update weights
Browse files
.gitignore
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
.env*
|
2 |
-
*.pyc
|
|
|
|
1 |
.env*
|
2 |
+
*.pyc
|
3 |
+
.aider*
|
GPT_SoVITS/configs/tts_infer.yaml
CHANGED
@@ -3,9 +3,9 @@ custom:
|
|
3 |
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
4 |
device: cpu
|
5 |
is_half: false
|
6 |
-
t2s_weights_path:
|
7 |
version: v2
|
8 |
-
vits_weights_path:
|
9 |
default:
|
10 |
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
11 |
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
|
|
3 |
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
4 |
device: cpu
|
5 |
is_half: false
|
6 |
+
t2s_weights_path: GPT_weights_v2/exp2-e25.ckpt
|
7 |
version: v2
|
8 |
+
vits_weights_path: SoVITS_weights_v2/exp2_e20_s5780.pth
|
9 |
default:
|
10 |
bert_base_path: GPT_SoVITS/pretrained_models/chinese-roberta-wwm-ext-large
|
11 |
cnhuhbert_base_path: GPT_SoVITS/pretrained_models/chinese-hubert-base
|
GPT_weights_v2/21hr-e15.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a5a1c859887728ace157681a537d4e989e2e5ed4254a19102a857fef63dce421
|
3 |
+
size 155312957
|
{GPT_weights → GPT_weights_v2}/exp2-e25.ckpt
RENAMED
File without changes
|
SoVITS_weights_v2/21hr_e13_s10621.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae0f69486a80f47911fe1e348abb37814e5780260e9d9dd24d79e0dda8d6ff98
|
3 |
+
size 85007879
|
{SoVITS_weights → SoVITS_weights_v2}/exp2_e20_s5780.pth
RENAMED
File without changes
|
app.py
CHANGED
@@ -23,21 +23,12 @@ logging.getLogger("asyncio").setLevel(logging.ERROR)
|
|
23 |
logging.getLogger("charset_normalizer").setLevel(logging.ERROR)
|
24 |
logging.getLogger("torchaudio._extension").setLevel(logging.ERROR)
|
25 |
|
26 |
-
try:
|
27 |
-
import gradio.analytics as analytics
|
28 |
-
analytics.version_check = lambda: None
|
29 |
-
except:
|
30 |
-
...
|
31 |
|
32 |
-
|
33 |
-
infer_ttswebui = os.environ.get("infer_ttswebui", 9872)
|
34 |
-
infer_ttswebui = int(infer_ttswebui)
|
35 |
-
is_share = os.environ.get("is_share", "False")
|
36 |
-
is_share = eval(is_share)
|
37 |
if "_CUDA_VISIBLE_DEVICES" in os.environ:
|
38 |
os.environ["CUDA_VISIBLE_DEVICES"] = os.environ["_CUDA_VISIBLE_DEVICES"]
|
39 |
|
40 |
is_half = eval(os.environ.get("is_half", "True")) and torch.cuda.is_available()
|
|
|
41 |
gpt_path = os.environ.get("gpt_path", None)
|
42 |
sovits_path = os.environ.get("sovits_path", None)
|
43 |
cnhubert_base_path = os.environ.get("cnhubert_base_path", None)
|
@@ -346,7 +337,7 @@ if __name__ == '__main__':
|
|
346 |
app.queue().launch(
|
347 |
server_name="0.0.0.0",
|
348 |
inbrowser=True,
|
349 |
-
share=
|
350 |
server_port=9876,
|
351 |
quiet=True,
|
352 |
)
|
|
|
23 |
logging.getLogger("charset_normalizer").setLevel(logging.ERROR)
|
24 |
logging.getLogger("torchaudio._extension").setLevel(logging.ERROR)
|
25 |
|
|
|
|
|
|
|
|
|
|
|
26 |
|
|
|
|
|
|
|
|
|
|
|
27 |
if "_CUDA_VISIBLE_DEVICES" in os.environ:
|
28 |
os.environ["CUDA_VISIBLE_DEVICES"] = os.environ["_CUDA_VISIBLE_DEVICES"]
|
29 |
|
30 |
is_half = eval(os.environ.get("is_half", "True")) and torch.cuda.is_available()
|
31 |
+
|
32 |
gpt_path = os.environ.get("gpt_path", None)
|
33 |
sovits_path = os.environ.get("sovits_path", None)
|
34 |
cnhubert_base_path = os.environ.get("cnhubert_base_path", None)
|
|
|
337 |
app.queue().launch(
|
338 |
server_name="0.0.0.0",
|
339 |
inbrowser=True,
|
340 |
+
share=True,
|
341 |
server_port=9876,
|
342 |
quiet=True,
|
343 |
)
|