Refactor: moved the module for extracting BERT features from text in each language to style_bert_vits2/text_processing/(language)/bert_feature.py
This commit is contained in:
@@ -20,6 +20,8 @@ from fastapi.middleware.cors import CORSMiddleware
|
||||
from fastapi.responses import FileResponse, Response
|
||||
from scipy.io import wavfile
|
||||
|
||||
from common.tts_model import Model, ModelHolder
|
||||
from config import config
|
||||
from style_bert_vits2.constants import (
|
||||
DEFAULT_ASSIST_TEXT_WEIGHT,
|
||||
DEFAULT_LENGTH,
|
||||
@@ -33,8 +35,6 @@ from style_bert_vits2.constants import (
|
||||
Languages,
|
||||
)
|
||||
from style_bert_vits2.logging import logger
|
||||
from common.tts_model import Model, ModelHolder
|
||||
from config import config
|
||||
|
||||
ln = config.server_config.language
|
||||
|
||||
|
||||
Reference in New Issue
Block a user