summaryrefslogtreecommitdiffstats
path: root/projects/windows/main.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-05-19 10:11:30 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-05-19 10:11:30 +0200
commitc8d61a08b77dbef1f929a93289df81d6156ea3ed (patch)
treea894219b06f84596aee4931529fc9ed3275712f3 /projects/windows/main.py
parentUpdate model list / providers (diff)
downloadgpt4free-c8d61a08b77dbef1f929a93289df81d6156ea3ed.tar
gpt4free-c8d61a08b77dbef1f929a93289df81d6156ea3ed.tar.gz
gpt4free-c8d61a08b77dbef1f929a93289df81d6156ea3ed.tar.bz2
gpt4free-c8d61a08b77dbef1f929a93289df81d6156ea3ed.tar.lz
gpt4free-c8d61a08b77dbef1f929a93289df81d6156ea3ed.tar.xz
gpt4free-c8d61a08b77dbef1f929a93289df81d6156ea3ed.tar.zst
gpt4free-c8d61a08b77dbef1f929a93289df81d6156ea3ed.zip
Diffstat (limited to 'projects/windows/main.py')
-rw-r--r--projects/windows/main.py9
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