Update gui

This commit is contained in:
H Lohaus 2024-04-06 16:25:11 +02:00 committed by GitHub
parent a2240a711c
commit 38c429ec38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

8
g4f/gui/gui_parser.py Normal file
View File

@ -0,0 +1,8 @@
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