From 1fe59623b22790dc2db36f106112795859bc6a25 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Tue, 19 Nov 2024 20:26:00 +0100 Subject: Add image upload to Copilot provider Add --cookie-browsers argument to cli --- g4f/gui/run.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'g4f/gui/run.py') diff --git a/g4f/gui/run.py b/g4f/gui/run.py index 9b1c527c..7acc5d9a 100644 --- a/g4f/gui/run.py +++ b/g4f/gui/run.py @@ -1,5 +1,6 @@ from .gui_parser import gui_parser from ..cookies import read_cookie_files +import g4f.cookies import g4f.debug def run_gui_args(args): @@ -11,6 +12,7 @@ def run_gui_args(args): host = args.host port = args.port debug = args.debug + g4f.cookies.browsers = [g4f.cookies[browser] for browser in args.cookie_browsers] run_gui(host, port, debug) if __name__ == "__main__": -- cgit v1.2.3