mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Update cli.py
This commit is contained in:
parent
df7ba2c5eb
commit
93a6d4499b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def main():
|
|||
|
||||
args = parser.parse_args()
|
||||
if args.mode == "api":
|
||||
controller=Api(g4f, debug=args.debug, list_ignored_providers=args.ignored_providers)
|
||||
controller=Api(engine=g4f, debug=args.debug, list_ignored_providers=args.ignored_providers)
|
||||
controller.run(args.bind)
|
||||
elif args.mode == "gui":
|
||||
run_gui_args(args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue