summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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",
...
)