diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-05-21 17:45:41 +0200 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-05-21 17:45:41 +0200 |
commit | 7eb41cfdcbf11e4233a26d5ec2dc7c8af0aea3da (patch) | |
tree | 8fedc68be7d533bdff55c06a56a1b3e224fedbac /README.md | |
parent | Merge pull request #1988 from hlohaus/kessh (diff) | |
download | gpt4free-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 '')
-rw-r--r-- | README.md | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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 |