Update Akeno/plugins/imageai.py
Browse files- Akeno/plugins/imageai.py +1 -1
Akeno/plugins/imageai.py
CHANGED
@@ -60,7 +60,7 @@ async def imgfluxai_(client: Client, message: Message):
|
|
60 |
with Image.open(io.BytesIO(image_bytes)) as img:
|
61 |
img.save("testing.jpg", format="JPEG")
|
62 |
ok = await pro.edit_text("Uploading image...")
|
63 |
-
await message.reply_photo("testing.jpg", progress=progress, progress_args=(ok, time.time(), "Uploading image..."))
|
64 |
await ok.delete()
|
65 |
except Exception as e:
|
66 |
LOGS.error(str(e))
|
|
|
60 |
with Image.open(io.BytesIO(image_bytes)) as img:
|
61 |
img.save("testing.jpg", format="JPEG")
|
62 |
ok = await pro.edit_text("Uploading image...")
|
63 |
+
await message.reply_photo("testing.jpg", progress=progress, progress_args=(ok, time.time(), "Uploading image..."))
|
64 |
await ok.delete()
|
65 |
except Exception as e:
|
66 |
LOGS.error(str(e))
|