gpt4free/g4f/gui/gui_parser.py
Heiner Lohaus 3a23e81de9 Add Replicate Provider
Fix Bug in OpenaiChat and MetaAI
Add read cookie and .har files
Use factory for api app
2024-04-21 22:39:00 +02:00

9 lines
462 B
Python

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")
parser.add_argument("--ignore-cookie-files", action="store_true", help="Don't read .har and cookie files.")
return parser