Skip to content

Commit

Permalink
chore(format): run black on dev (#867)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 7, 2025
1 parent fefc931 commit ff77e25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ChatTTS/utils/dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
)
2 changes: 1 addition & 1 deletion examples/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit ff77e25

Please sign in to comment.