Skip to content

Commit

Permalink
chore(format): run black on dev (#717)
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 Aug 23, 2024
1 parent 7f54d2c commit 81e3488
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/web/funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 81e3488

Please sign in to comment.