mirror of https://github.com/xtekky/gpt4free.git
commit
ac71602f5d
|
@ -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