mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-10 19:11:01 +00:00
13 lines
295 B
Python
13 lines
295 B
Python
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) |