From 0934b7a117445945750242897baa6f4bfbe97e68 Mon Sep 17 00:00:00 2001 From: foxfire52 Date: Fri, 1 Nov 2024 14:03:45 +0100 Subject: Update interference-api.md --- docs/interference-api.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3 From 942959d062067a8b8766ac37d0087f575000d6a6 Mon Sep 17 00:00:00 2001 From: foxfire52 Date: Mon, 4 Nov 2024 16:55:11 +0100 Subject: Update .har instructions README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ed8fd61d..2de3d318 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3