summaryrefslogtreecommitdiffstats
path: root/g4f/gui/run.py
blob: 91314d2d4c2fa8bd66b31aab169ea9c1e544fa18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
from .gui_parser import gui_parser

def run_gui_args(args):
    from g4f.gui import run_gui
    host = args.host
    port = args.port
    debug = args.debug
    run_gui(host, port, debug)

if __name__ == "__main__":
    parser = gui_parser()
    args = parser.parse_args()
    run_gui_args(args)