Update run.py

pull/1794/head
H Lohaus 2 months ago committed by GitHub
parent 38c429ec38
commit f260c3a5e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save