mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-08 17:50:16 +08:00
Update cli.py
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user