hathc run style:fmt

This commit is contained in:
litagin02
2024-11-17 12:44:27 +09:00
parent a6bc65271c
commit 8d476175a7
2 changed files with 2 additions and 5 deletions

View File

@@ -11,10 +11,8 @@ import torch
from numpy.typing import NDArray
from style_bert_vits2.logging import logger
from style_bert_vits2.models.utils import (
checkpoints, # type: ignore
safetensors, # type: ignore
)
from style_bert_vits2.models.utils import checkpoints # type: ignore
from style_bert_vits2.models.utils import safetensors # type: ignore
if TYPE_CHECKING:

View File

@@ -251,7 +251,6 @@ def unload_tokenizer(language: Languages) -> None:
language (Languages): アンロードする BERT トークナイザーの言語
"""
if language in __loaded_tokenizers:
del __loaded_tokenizers[language]
gc.collect()