mirror of
https://github.com/2noise/ChatTTS.git
synced 2026-08-28 17:45:02 +08:00
chore(format): run black on dev (#717)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7f54d2cd17
commit
81e3488ab8
@@ -64,9 +64,7 @@ def load_chat(cust_path: Optional[str], coef: Optional[str]) -> bool:
|
||||
ret = chat.load(coef=coef)
|
||||
else:
|
||||
logger.info("local model path: %s", cust_path)
|
||||
ret = chat.load(
|
||||
"custom", custom_path=cust_path, coef=coef
|
||||
)
|
||||
ret = chat.load("custom", custom_path=cust_path, coef=coef)
|
||||
global custom_path
|
||||
custom_path = cust_path
|
||||
if ret:
|
||||
|
||||
Reference in New Issue
Block a user