mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-06 22:50:00 +08:00
正确导入symbols模块
This commit is contained in:
parent
38cd881578
commit
4bf8ce6069
@ -1,6 +1,8 @@
|
||||
# modified from https://github.com/CjangCjengh/vits/blob/main/text/japanese.py
|
||||
import re
|
||||
|
||||
from text.symbols2 import symbols
|
||||
|
||||
import pyopenjtalk
|
||||
import os
|
||||
import hashlib
|
||||
@ -222,6 +224,5 @@ def g2p(norm_text, with_prosody=True):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from text.symbols2 import symbols
|
||||
phones = g2p("Hello.こんにちは!今日もNiCe天気ですね!tokyotowerに行きましょう!")
|
||||
print(phones)
|
||||
|
Loading…
x
Reference in New Issue
Block a user