summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
Diffstat (limited to 'g4f')
-rw-r--r--g4f/gui/run.py9
1 files changed, 1 insertions, 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