Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2024-07-09 20:08:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-07-09 20:08:47 +0800
Commit
9e446b8501737e108208fca1996d135496fff69a
9e446b85
1 parent
c2cc9dec
Fix typos (#1101)
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
9 行增加
和
4 行删除
.github/workflows/dot-net.yaml
CHANGELOG.md
scripts/apk/generate-tts-apk-script.py
.github/workflows/dot-net.yaml
查看文件 @
9e446b8
...
...
@@ -162,7 +162,7 @@ jobs:
tree /tmp/windows*
echo "----"
rm -v /tmp/windows*/*.lib
rm -
f
v /tmp/windows*/*.lib
tree /tmp/windows*
-
name
:
Build
...
...
CHANGELOG.md
查看文件 @
9e446b8
...
...
@@ -5,7 +5,7 @@
## 1.10.11
*
Support the iOS platform for
iOS
.
*
Support the iOS platform for
Flutter
.
## 1.10.10
...
...
scripts/apk/generate-tts-apk-script.py
查看文件 @
9e446b8
...
...
@@ -332,18 +332,23 @@ def get_vits_models() -> List[TtsModel]:
model_name
=
"vits-zh-hf-fanchen-unity.onnx"
,
lang
=
"zh"
,
),
TtsModel
(
model_dir
=
"sherpa-onnx-vits-zh-ll"
,
model_name
=
"model.onnx"
,
lang
=
"zh"
,
),
]
rule_fsts
=
[
"phone.fst"
,
"date.fst"
,
"number.fst"
,
"new_heteronym.fst"
]
for
m
in
chinese_models
:
s
=
[
f
"{m.model_dir}/{r}"
for
r
in
rule_fsts
]
if
"vits-zh-hf"
in
m
.
model_dir
:
if
"vits-zh-hf"
in
m
.
model_dir
or
"sherpa-onnx-vits-zh-ll"
==
m
.
model_dir
:
s
=
s
[:
-
1
]
m
.
dict_dir
=
m
.
model_dir
+
"/dict"
m
.
rule_fsts
=
","
.
join
(
s
)
if
"vits-zh-hf"
not
in
m
.
model_dir
:
if
"vits-zh-hf"
not
in
m
.
model_dir
and
"zh-ll"
not
in
m
.
model_dir
:
m
.
rule_fars
=
f
"{m.model_dir}/rule.far"
all_models
=
chinese_models
+
[
...
...
请
注册
或
登录
后发表评论