mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-10 19:11:01 +00:00
Update gui
This commit is contained in:
parent
a2240a711c
commit
38c429ec38
8
g4f/gui/gui_parser.py
Normal file
8
g4f/gui/gui_parser.py
Normal 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
|
Loading…
Reference in New Issue
Block a user