mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-11 19:20:12 +08:00
Create windows release, improve styling
This commit is contained in:
@@ -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)
|
||||
run_gui_args(args)
|
Reference in New Issue
Block a user