diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2024-11-13 12:35:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-13 12:35:27 +0100 |
commit | 99734d0421a7076217d82aa2a43abd9daa7e6055 (patch) | |
tree | 953fdfdb9c226b87f8a3161d3870364af94cc001 | |
parent | Merge pull request #2341 from XoJIoDuJIHuK/fix/gemini-safety-response (diff) | |
parent | Update .har instructions README.md (diff) | |
download | gpt4free-99734d0421a7076217d82aa2a43abd9daa7e6055.tar gpt4free-99734d0421a7076217d82aa2a43abd9daa7e6055.tar.gz gpt4free-99734d0421a7076217d82aa2a43abd9daa7e6055.tar.bz2 gpt4free-99734d0421a7076217d82aa2a43abd9daa7e6055.tar.lz gpt4free-99734d0421a7076217d82aa2a43abd9daa7e6055.tar.xz gpt4free-99734d0421a7076217d82aa2a43abd9daa7e6055.tar.zst gpt4free-99734d0421a7076217d82aa2a43abd9daa7e6055.zip |
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | docs/interference-api.md | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -288,7 +288,7 @@ To utilize the OpenaiChat provider, a .har file is required from https://chatgpt ##### Storing the .HAR File -- Place the exported .har file in the `./har_and_cookies` directory if you are using Docker. Alternatively, you can store it in any preferred location within your current working directory. +- Place the exported .har file in the `./har_and_cookies` directory if you are using Docker. Alternatively, if you are using Python from a terminal, you can store it in a `./har_and_cookies` directory within your current working directory. Note: Ensure that your .har file is stored securely, as it may contain sensitive information. 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 |