Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JiauZhang committed Jun 11, 2024
1 parent 7724cce commit 10b4370
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions chatchat/baidu.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ def __init__(self, model='ERNIE-Speed-8K', proxy=None, timeout=None):
'ERNIE-Speed-128K': 'ernie-speed-128k',
'ERNIE-Speed-AppBuilder': 'ai_apaas',
'ERNIE-Lite-8K': 'ernie-lite-8k',
'ERNIE-Lite-8K-0922': 'eb-instant',
'ERNIE-Bot-turbo-0922': 'eb-instant',
'ERNIE-Tiny-8K': 'ernie-tiny-8k',
'Yi-34B-Chat': 'yi_34b_chat',
}
Expand Down
2 changes: 1 addition & 1 deletion chatchat/cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def parse_config(args):
cfg = args.cfgs.split('=')
plat_key = cfg[0].split('.')
usage = 'Usage: chatchat config platform.key=value'
if len(cfg) != 2 and len(plat_key) != 2:
if len(cfg) != 2 or len(plat_key) != 2:
print(usage)
return

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'chatchat',
packages = find_packages(exclude=['examples']),
version = '0.1.7',
version = '0.1.8',
license = 'GPL-2.0',
description = 'Large Language Model API',
author = 'JiauZhang',
Expand Down

0 comments on commit 10b4370

Please sign in to comment.