diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-05-19 10:13:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-19 10:13:17 +0200 |
commit | 738e532c5ded79d9e449f18e3845ef9673e83fb8 (patch) | |
tree | a894219b06f84596aee4931529fc9ed3275712f3 /projects/windows/main.py | |
parent | Merge pull request #1978 from hlohaus/leech (diff) | |
parent | Create windows release, improve styling (diff) | |
download | gpt4free-0.3.1.7.tar gpt4free-0.3.1.7.tar.gz gpt4free-0.3.1.7.tar.bz2 gpt4free-0.3.1.7.tar.lz gpt4free-0.3.1.7.tar.xz gpt4free-0.3.1.7.tar.zst gpt4free-0.3.1.7.zip |
Diffstat (limited to 'projects/windows/main.py')
-rw-r--r-- | projects/windows/main.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/projects/windows/main.py b/projects/windows/main.py index 11a3f902..05042715 100644 --- a/projects/windows/main.py +++ b/projects/windows/main.py @@ -8,15 +8,12 @@ ssl.create_default_context = partial( cafile=certifi.where() ) -from g4f.gui.webview import run_webview -from g4f.gui.run import gui_parser +from g4f.gui.run import run_gui_args, gui_parser import g4f.debug g4f.debug.version_check = False -g4f.debug.version = "0.2.8.0" +g4f.debug.version = "0.3.1.7" if __name__ == "__main__": parser = gui_parser() args = parser.parse_args() - if args.debug: - g4f.debug.logging = True - run_webview(args.debug)
\ No newline at end of file + run_gui_args(args)
\ No newline at end of file |