chore(format): run black on dev (#867)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-01-07 21:20:00 +09:00
committed by GitHub
parent fefc931873
commit ff77e25f11
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -215,7 +215,8 @@ def download_all_assets(tmpdir: str, homedir: str, version="0.2.10"):
"0",
"-dns",
os.path.join(tmpdir, "dns.yaml"),
"-H", homedir,
"-H",
homedir,
"assets/chtts",
]
)
+1 -1
View File
@@ -40,7 +40,7 @@ async def startup_event():
chat = ChatTTS.Chat(get_logger("ChatTTS"))
chat.normalizer.register("en", normalizer_en_nemo_text())
chat.normalizer.register("zh", normalizer_zh_tn())
logger.info("Initializing ChatTTS...")
if chat.load(source="huggingface"):
logger.info("Models loaded successfully.")