From 0e93d841ba92bb61debcd61bb78d1bcd00dbbb14 Mon Sep 17 00:00:00 2001 From: late Date: Sat, 21 Oct 2023 12:10:03 +0800 Subject: fix bug - Cannot assign requested address --- g4f/api/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api/run.py') diff --git a/g4f/api/run.py b/g4f/api/run.py index 9a2a5786..12bf9eed 100644 --- a/g4f/api/run.py +++ b/g4f/api/run.py @@ -3,4 +3,4 @@ import g4f.api if __name__ == "__main__": print(f'Starting server... [g4f v-{g4f.version}]') - g4f.api.Api(g4f).run('localhost:1337', 8) \ No newline at end of file + g4f.api.Api(g4f).run('127.0.0.1:1337', 8) \ No newline at end of file -- cgit v1.2.3