summaryrefslogtreecommitdiffstats
path: root/g4f/api
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-10-21 12:45:04 +0200
committerGitHub <noreply@github.com>2023-10-21 12:45:04 +0200
commitf125f714fb6af8e9733768a884cba48f411c2689 (patch)
tree1b30bce217799d175350f0558400d349b81cd053 /g4f/api
parent ~ | g4f `v-0.1.7.2` (diff)
parentfix bug - Cannot assign requested address (diff)
downloadgpt4free-f125f714fb6af8e9733768a884cba48f411c2689.tar
gpt4free-f125f714fb6af8e9733768a884cba48f411c2689.tar.gz
gpt4free-f125f714fb6af8e9733768a884cba48f411c2689.tar.bz2
gpt4free-f125f714fb6af8e9733768a884cba48f411c2689.tar.lz
gpt4free-f125f714fb6af8e9733768a884cba48f411c2689.tar.xz
gpt4free-f125f714fb6af8e9733768a884cba48f411c2689.tar.zst
gpt4free-f125f714fb6af8e9733768a884cba48f411c2689.zip
Diffstat (limited to 'g4f/api')
-rw-r--r--g4f/api/run.py2
1 files changed, 1 insertions, 1 deletions
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