Merge branch 'master' into dev

This commit is contained in:
litagin02
2024-01-05 22:48:42 +09:00
2 changed files with 2 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
# 2024-01-05に、日本語の処理部分にあった大きいバグを修正しました。アップデートして使うのを強くおすすめします。学習もし直すといいかもしれません。
# Style-Bert-VITS2
Bert-VITS2 with more controllable voice styles.

View File

@@ -39,9 +39,6 @@ def hiragana2p(text: str) -> str:
# 2文字からなる変換規則
text = text.replace("ぅ゛", " v u")
# ゔの処理を追加
text = text.replace("", " v u")
text = text.replace("あぁ", " a a")
text = text.replace("いぃ", " i i")
text = text.replace("いぇ", " i e")
@@ -245,6 +242,7 @@ def hiragana2p(text: str) -> str:
text = text.replace("", " a")
text = text.replace("", " i")
text = text.replace("", " u")
text = text.replace("", " v u") # ゔの処理を追加
text = text.replace("", " e")
text = text.replace("", " o")
text = text.replace("", " k a")