summaryrefslogblamecommitdiffstats
path: root/g4f/gui/run.py
blob: 91314d2d4c2fa8bd66b31aab169ea9c1e544fa18 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                  
 
                       
                               
                    
                    
                      

                              


                              
                     
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)