mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-08-28 17:45:02 +08:00
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:
committed by
GitHub
parent
fefc931873
commit
ff77e25f11
+2
-1
@@ -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",
|
||||
]
|
||||
)
|
||||
|
||||
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user