diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-04-06 16:27:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 16:27:28 +0200 |
commit | f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97 (patch) | |
tree | f05c08dd9ef2e59a2255edd746c2757a2d1c6fe0 /g4f/gui | |
parent | Update gui (diff) | |
download | gpt4free-f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97.tar gpt4free-f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97.tar.gz gpt4free-f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97.tar.bz2 gpt4free-f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97.tar.lz gpt4free-f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97.tar.xz gpt4free-f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97.tar.zst gpt4free-f260c3a5e849ce6ddd3c087bf2dff2e3d20f9d97.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/gui/run.py | 9 |
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 |