Update cli.py

pull/1213/head
ThatLukinhasGuy 8 months ago committed by GitHub
parent df7ba2c5eb
commit 93a6d4499b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save