Fix requirements in gui api

This commit is contained in:
Heiner Lohaus 2024-03-19 20:35:35 +01:00
parent a466a86ee6
commit a6ab2adaf0

15
main.py Normal file
View File

@ -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);