summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-05-21 17:45:41 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-05-21 17:45:41 +0200
commit7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da (patch)
tree8fedc68be7d533bdff55c06a56a1b3e224fedbac /README.md
parentMerge pull request #1988 from hlohaus/kessh (diff)
downloadgpt4free-7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da.tar
gpt4free-7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da.tar.gz
gpt4free-7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da.tar.bz2
gpt4free-7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da.tar.lz
gpt4free-7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da.tar.xz
gpt4free-7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da.tar.zst
gpt4free-7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da.zip
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 0 insertions, 13 deletions
diff --git a/README.md b/README.md
index ddcaf318..e34ee2d5 100644
--- a/README.md
+++ b/README.md
@@ -441,19 +441,6 @@ While we wait for gpt-5, here is a list of new models that are at least better t
| Replicate | `g4f.Provider.Replicate` | stability-ai/sdxl| llava-v1.6-34b | [replicate.com](https://replicate.com) |
| You.com | `g4f.Provider.You` | dall-e-3| ✔️ | [you.com](https://you.com) |
-```python
-import requests
-from g4f.client import Client
-
-client = Client()
-image = requests.get("https://change_me.jpg", stream=True).raw
-response = client.chat.completions.create(
- "",
- messages=[{"role": "user", "content": "what is in this picture?"}],
- image=image
-)
-print(response.choices[0].message.content)
-```
## 🔗 Powered by gpt4free