Refactor: style_bert_vits2/text_processing/cleaner.py integrated into style_bert_vits2/text_processing/__init__.py

This was often used in 3 function sets and felt like a wasteful division with few lines.
This commit is contained in:
tsukumi
2024-03-07 04:19:40 +00:00
parent b01168309d
commit def6d88425
4 changed files with 63 additions and 65 deletions

View File

@@ -6,8 +6,7 @@ from style_bert_vits2.logging import logger
from style_bert_vits2.models import commons
from style_bert_vits2.models.models import SynthesizerTrn
from style_bert_vits2.models.models_jp_extra import SynthesizerTrn as SynthesizerTrnJPExtra
from style_bert_vits2.text_processing import cleaned_text_to_sequence, extract_bert_feature
from style_bert_vits2.text_processing.cleaner import clean_text
from style_bert_vits2.text_processing import clean_text, cleaned_text_to_sequence, extract_bert_feature
from style_bert_vits2.text_processing.symbols import SYMBOLS