summaryrefslogtreecommitdiffstats
path: root/docs/client.md
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-02-12 12:11:22 +0100
committerGitHub <noreply@github.com>2024-02-12 12:11:22 +0100
commit32adba7494b4362ffd9cc3d563f7b9b6eb3860be (patch)
treeaf09cd08c2b0a7430c983c3695eb1d6206390d79 /docs/client.md
parentUpdate client.md (diff)
downloadgpt4free-32adba7494b4362ffd9cc3d563f7b9b6eb3860be.tar
gpt4free-32adba7494b4362ffd9cc3d563f7b9b6eb3860be.tar.gz
gpt4free-32adba7494b4362ffd9cc3d563f7b9b6eb3860be.tar.bz2
gpt4free-32adba7494b4362ffd9cc3d563f7b9b6eb3860be.tar.lz
gpt4free-32adba7494b4362ffd9cc3d563f7b9b6eb3860be.tar.xz
gpt4free-32adba7494b4362ffd9cc3d563f7b9b6eb3860be.tar.zst
gpt4free-32adba7494b4362ffd9cc3d563f7b9b6eb3860be.zip
Diffstat (limited to 'docs/client.md')
-rw-r--r--docs/client.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/client.md b/docs/client.md
index f1e95f0c..247979ce 100644
--- a/docs/client.md
+++ b/docs/client.md
@@ -60,7 +60,7 @@ image_url = response.data[0].url
Also this works with the client:
```python
response = client.images.create_variation(
- image=open('cat.jpg')
+ image=open("cat.jpg", "rb")
model="bing",
...
)