gpt4free/g4f/gui/run.py
2024-04-06 16:27:28 +02:00

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)