Update cli.py

This commit is contained in:
ThatLukinhasGuy 2023-11-04 18:25:40 -03:00 committed by GitHub
parent df7ba2c5eb
commit 93a6d4499b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)