diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-12-13 15:27:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 15:27:55 +0100 |
commit | 99127111f525d4ed1469c3547bcb491a8cdf5963 (patch) | |
tree | 10ed7693fe0116fa91ab9c77cbc0aa0951417f75 /g4f/cli.py | |
parent | ~ (diff) | |
parent | Change default port for gui (diff) | |
download | gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.gz gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.bz2 gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.lz gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.xz gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.tar.zst gpt4free-99127111f525d4ed1469c3547bcb491a8cdf5963.zip |
Diffstat (limited to 'g4f/cli.py')
-rw-r--r-- | g4f/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ def main(): parser = argparse.ArgumentParser(description="Run gpt4free") subparsers = parser.add_subparsers(dest="mode", help="Mode to run the g4f in.") api_parser=subparsers.add_parser("api") - api_parser.add_argument("--bind", default="127.0.0.1:1337", help="The bind string.") + api_parser.add_argument("--bind", default="0.0.0.0:1337", help="The bind string.") api_parser.add_argument("--debug", type=bool, default=False, help="Enable verbose logging") api_parser.add_argument("--ignored-providers", nargs="+", choices=[provider.name for provider in IgnoredProviders], default=[], help="List of providers to ignore when processing request.") |