Fix: import error
This commit is contained in:
@@ -2,10 +2,12 @@ import os
|
||||
import re
|
||||
|
||||
import cn2an
|
||||
import jieba.posseg as psg
|
||||
from pypinyin import lazy_pinyin, Style
|
||||
|
||||
from style_bert_vits2.text_processing.chinese.tone_sandhi import ToneSandhi
|
||||
from style_bert_vits2.text_processing.symbols import PUNCTUATIONS
|
||||
from text.tone_sandhi import ToneSandhi
|
||||
|
||||
|
||||
current_file_path = os.path.dirname(__file__)
|
||||
pinyin_to_symbol_map = {
|
||||
@@ -13,8 +15,6 @@ pinyin_to_symbol_map = {
|
||||
for line in open(os.path.join(current_file_path, "opencpop-strict.txt")).readlines()
|
||||
}
|
||||
|
||||
import jieba.posseg as psg
|
||||
|
||||
|
||||
rep_map = {
|
||||
":": ",",
|
||||
|
||||
Reference in New Issue
Block a user