zhzluke96
commited on
Commit
•
bb4ceb3
1
Parent(s):
93059e5
update
Browse files- language/zh-CN.json +6 -8
- webui.py +8 -0
language/zh-CN.json
CHANGED
@@ -83,6 +83,11 @@
|
|
83 |
"🎛️Spliter": "🎛️分割器配置",
|
84 |
"eos": "句尾词",
|
85 |
"Spliter Threshold": "分割器阈值",
|
|
|
|
|
|
|
|
|
|
|
86 |
"TTS_STYLE_GUIDE": ["后缀为 _p 表示带prompt,效果更强但是影响质量"],
|
87 |
"SSML_SPLITER_GUIDE": [
|
88 |
"- 如果尾字吞字不读,可以试试结尾加上 `[lbreak]`",
|
@@ -98,17 +103,10 @@
|
|
98 |
],
|
99 |
|
100 |
"SSML_TEXT_GUIDE": [
|
101 |
-
"- HF中限制最长文本长度,具体限制看readme",
|
102 |
-
"- `ERROR: GPU task aborted` 一般表示gpu任务过长被hf停止,请尝试缩短输入文本",
|
103 |
"- 关于SSML可以看这个 [文档](https://github.com/lenML/ChatTTS-Forge/blob/main/docs/SSML.md)"
|
104 |
],
|
105 |
|
106 |
-
"TTS_TEXT_GUIDE": [
|
107 |
-
"- HF中限制最长文本长度,具体限制看readme",
|
108 |
-
"- `ERROR: GPU task aborted` 一般表示gpu任务过长被hf停止,请尝试缩短输入文本",
|
109 |
-
"- 如果尾字吞字不读,可以试试结尾加上 `[lbreak]`",
|
110 |
-
"- If the input text is all in English, it is recommended to check disable_normalize"
|
111 |
-
],
|
112 |
|
113 |
"SPEAKER_MERGER_GUIDE": [
|
114 |
"### 音色融合",
|
|
|
83 |
"🎛️Spliter": "🎛️分割器配置",
|
84 |
"eos": "句尾词",
|
85 |
"Spliter Threshold": "分割器阈值",
|
86 |
+
"Enable Loudness EQ": "响度均衡",
|
87 |
+
"Speed": "速度",
|
88 |
+
"Pitch": "音调",
|
89 |
+
"Volume Gain": "音量增益",
|
90 |
+
"🎛️Adjuster": "🎛️调节器",
|
91 |
"TTS_STYLE_GUIDE": ["后缀为 _p 表示带prompt,效果更强但是影响质量"],
|
92 |
"SSML_SPLITER_GUIDE": [
|
93 |
"- 如果尾字吞字不读,可以试试结尾加上 `[lbreak]`",
|
|
|
103 |
],
|
104 |
|
105 |
"SSML_TEXT_GUIDE": [
|
|
|
|
|
106 |
"- 关于SSML可以看这个 [文档](https://github.com/lenML/ChatTTS-Forge/blob/main/docs/SSML.md)"
|
107 |
],
|
108 |
|
109 |
+
"TTS_TEXT_GUIDE": ["- 如果尾字吞字不读,可以试试结尾加上 `[lbreak]`"],
|
|
|
|
|
|
|
|
|
|
|
110 |
|
111 |
"SPEAKER_MERGER_GUIDE": [
|
112 |
"### 音色融合",
|
webui.py
CHANGED
@@ -30,6 +30,14 @@ from modules.webui.app import create_interface, webui_init
|
|
30 |
dcls_patch()
|
31 |
ignore_useless_warnings()
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
def setup_webui_args(parser: argparse.ArgumentParser):
|
35 |
parser.add_argument("--server_name", type=str, help="server name")
|
|
|
30 |
dcls_patch()
|
31 |
ignore_useless_warnings()
|
32 |
|
33 |
+
import subprocess
|
34 |
+
|
35 |
+
subprocess.run(
|
36 |
+
"pip install flash-attn --no-build-isolation",
|
37 |
+
env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
|
38 |
+
shell=True,
|
39 |
+
)
|
40 |
+
|
41 |
|
42 |
def setup_webui_args(parser: argparse.ArgumentParser):
|
43 |
parser.add_argument("--server_name", type=str, help="server name")
|