summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 00000000..5b2cc4c2
--- /dev/null
+++ b/main.py
@@ -0,0 +1,15 @@
+import ssl
+import certifi
+from functools import partial
+
+ssl.default_ca_certs = certifi.where()
+ssl.create_default_context = partial(
+ ssl.create_default_context,
+ cafile=certifi.where()
+)
+
+from g4f.gui.webview import run_webview
+import g4f.debug
+g4f.debug.version_check = False
+
+run_webview(True); \ No newline at end of file