diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-03-19 20:36:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 20:36:28 +0100 |
commit | 71d907402f508674ab9af8b1ccc1ae36cdec50d1 (patch) | |
tree | 398a993e2b59b8b7e23e2693052eba11605c9ad7 | |
parent | Merge pull request #1727 from hlohaus/giga (diff) | |
parent | Fix requirements in gui api (diff) | |
download | gpt4free-71d907402f508674ab9af8b1ccc1ae36cdec50d1.tar gpt4free-71d907402f508674ab9af8b1ccc1ae36cdec50d1.tar.gz gpt4free-71d907402f508674ab9af8b1ccc1ae36cdec50d1.tar.bz2 gpt4free-71d907402f508674ab9af8b1ccc1ae36cdec50d1.tar.lz gpt4free-71d907402f508674ab9af8b1ccc1ae36cdec50d1.tar.xz gpt4free-71d907402f508674ab9af8b1ccc1ae36cdec50d1.tar.zst gpt4free-71d907402f508674ab9af8b1ccc1ae36cdec50d1.zip |
Diffstat (limited to '')
-rw-r--r-- | main.py | 15 |
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 |