summaryrefslogtreecommitdiffstats
path: root/docs/interference-api.md
diff options
context:
space:
mode:
authorfoxfire52 <foxfire52@virgilio.it>2024-11-01 14:03:45 +0100
committerGitHub <noreply@github.com>2024-11-01 14:03:45 +0100
commit0934b7a117445945750242897baa6f4bfbe97e68 (patch)
treef3f777f4716fb57db7646df6521f70416cd62b3d /docs/interference-api.md
parentnew discord link (diff)
downloadgpt4free-0934b7a117445945750242897baa6f4bfbe97e68.tar
gpt4free-0934b7a117445945750242897baa6f4bfbe97e68.tar.gz
gpt4free-0934b7a117445945750242897baa6f4bfbe97e68.tar.bz2
gpt4free-0934b7a117445945750242897baa6f4bfbe97e68.tar.lz
gpt4free-0934b7a117445945750242897baa6f4bfbe97e68.tar.xz
gpt4free-0934b7a117445945750242897baa6f4bfbe97e68.tar.zst
gpt4free-0934b7a117445945750242897baa6f4bfbe97e68.zip
Diffstat (limited to 'docs/interference-api.md')
-rw-r--r--docs/interference-api.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/interference-api.md b/docs/interference-api.md
index 2e18e7b5..b8e38fae 100644
--- a/docs/interference-api.md
+++ b/docs/interference-api.md
@@ -46,7 +46,11 @@ python -m g4f.api.run
```
**Once running, the API will be accessible at:** `http://localhost:1337/v1`
-
+
+**(Advanced) Bind to custom port:**
+```bash
+python -m g4f.cli api --bind "0.0.0.0:2400"
+```
## Using the Interference API