From f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Sat, 6 Apr 2024 16:27:28 +0200 Subject: Update run.py --- g4f/gui/run.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/g4f/gui/run.py b/g4f/gui/run.py index 6b7d423f..91314d2d 100644 --- a/g4f/gui/run.py +++ b/g4f/gui/run.py @@ -1,11 +1,4 @@ -from argparse import ArgumentParser - -def gui_parser(): - parser = ArgumentParser(description="Run the GUI") - parser.add_argument("-host", type=str, default="0.0.0.0", help="hostname") - parser.add_argument("-port", type=int, default=8080, help="port") - parser.add_argument("-debug", action="store_true", help="debug mode") - return parser +from .gui_parser import gui_parser def run_gui_args(args): from g4f.gui import run_gui -- cgit v1.2.3