diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2023-12-11 02:50:33 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2023-12-11 02:50:33 +0100 |
commit | b2d02ed624f9354214228c3f4d5dcb1a74d792b3 (patch) | |
tree | 9b25c40faba70070869d5a260fabe7610e780435 /g4f/cli.py | |
parent | Add error classes (diff) | |
download | gpt4free-b2d02ed624f9354214228c3f4d5dcb1a74d792b3.tar gpt4free-b2d02ed624f9354214228c3f4d5dcb1a74d792b3.tar.gz gpt4free-b2d02ed624f9354214228c3f4d5dcb1a74d792b3.tar.bz2 gpt4free-b2d02ed624f9354214228c3f4d5dcb1a74d792b3.tar.lz gpt4free-b2d02ed624f9354214228c3f4d5dcb1a74d792b3.tar.xz gpt4free-b2d02ed624f9354214228c3f4d5dcb1a74d792b3.tar.zst gpt4free-b2d02ed624f9354214228c3f4d5dcb1a74d792b3.zip |
Diffstat (limited to '')
-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.") |