summaryrefslogtreecommitdiffstats
path: root/g4f/cli.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/cli.py b/g4f/cli.py
index d2cbee70..3dbe10b7 100644
--- a/g4f/cli.py
+++ b/g4f/cli.py
@@ -17,7 +17,7 @@ def main():
args = parser.parse_args()
if args.mode == "api":
- Api(g4f).run('localhost:1337', 8)
+ Api(g4f).run('127.0.0.1:1337', 8)
elif args.mode == "gui":
run_gui_args(args)
else: