Format import using isort --profile black --gitignore --lai 2 .

This commit is contained in:
litagin02
2024-03-11 12:37:51 +09:00
parent 164b5c4a85
commit dada0af2b6
29 changed files with 50 additions and 35 deletions

View File

@@ -1,5 +1,6 @@
import re
import unicodedata
from num2words import num2words
from style_bert_vits2.nlp.symbols import PUNCTUATIONS

View File

@@ -17,12 +17,13 @@ from fastapi import HTTPException
from style_bert_vits2.constants import DEFAULT_USER_DICT_DIR
from style_bert_vits2.nlp.japanese import pyopenjtalk_worker as pyopenjtalk
from style_bert_vits2.nlp.japanese.user_dict.word_model import UserDictWord, WordTypes
from style_bert_vits2.nlp.japanese.user_dict.part_of_speech_data import (
MAX_PRIORITY,
MIN_PRIORITY,
part_of_speech_data,
)
from style_bert_vits2.nlp.japanese.user_dict.word_model import UserDictWord, WordTypes
# root_dir = engine_root()
# save_dir = get_save_dir()

View File

@@ -14,6 +14,7 @@ from style_bert_vits2.nlp.japanese.user_dict.word_model import (
WordTypes,
)
MIN_PRIORITY = USER_DICT_MIN_PRIORITY
MAX_PRIORITY = USER_DICT_MAX_PRIORITY

View File

@@ -11,6 +11,7 @@ from typing import List, Optional
from pydantic import BaseModel, Field, validator
USER_DICT_MIN_PRIORITY = 0
USER_DICT_MAX_PRIORITY = 10