mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-23 00:22:09 +03:00
parent
ee7428e767
commit
1fb9eb94f7
@ -225,7 +225,7 @@ class Gemini(AsyncGeneratorProvider):
|
|||||||
headers=UPLOAD_IMAGE_HEADERS,
|
headers=UPLOAD_IMAGE_HEADERS,
|
||||||
connector=connector
|
connector=connector
|
||||||
) as session:
|
) as session:
|
||||||
async with session.options(UPLOAD_IMAGE_URL) as reponse:
|
async with session.options(UPLOAD_IMAGE_URL) as response:
|
||||||
await raise_for_status(response)
|
await raise_for_status(response)
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
|
Loading…
Reference in New Issue
Block a user