diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-19 20:35:35 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-19 20:35:35 +0100 |
commit | a6ab2adaf02b92fda6416b8ff094083b2edd75d3 (patch) | |
tree | 7fcc3435c737ec34012423e308c3360ca54909bd | |
parent | Fix requirements in gui api (diff) | |
download | gpt4free-a6ab2adaf02b92fda6416b8ff094083b2edd75d3.tar gpt4free-a6ab2adaf02b92fda6416b8ff094083b2edd75d3.tar.gz gpt4free-a6ab2adaf02b92fda6416b8ff094083b2edd75d3.tar.bz2 gpt4free-a6ab2adaf02b92fda6416b8ff094083b2edd75d3.tar.lz gpt4free-a6ab2adaf02b92fda6416b8ff094083b2edd75d3.tar.xz gpt4free-a6ab2adaf02b92fda6416b8ff094083b2edd75d3.tar.zst gpt4free-a6ab2adaf02b92fda6416b8ff094083b2edd75d3.zip |
-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 |