Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -409,11 +409,11 @@ async def on_message(message):
|
|
409 |
image.save("image.png")
|
410 |
file = discord.File("image.png", filename="image.png", description=imgp)
|
411 |
embed.set_image(url="attachment://image.png")
|
412 |
-
await e.edit(embed=embed, attachments=[file])
|
413 |
embed.set_footer(
|
414 |
text=
|
415 |
"""Upscaling..."""
|
416 |
)
|
|
|
417 |
image = await UP.image_to_image("image.png")
|
418 |
image.save("image.png")
|
419 |
file = discord.File("image.png", filename="image.png", description=imgp)
|
|
|
409 |
image.save("image.png")
|
410 |
file = discord.File("image.png", filename="image.png", description=imgp)
|
411 |
embed.set_image(url="attachment://image.png")
|
|
|
412 |
embed.set_footer(
|
413 |
text=
|
414 |
"""Upscaling..."""
|
415 |
)
|
416 |
+
await e.edit(embed=embed, attachments=[file])
|
417 |
image = await UP.image_to_image("image.png")
|
418 |
image.save("image.png")
|
419 |
file = discord.File("image.png", filename="image.png", description=imgp)
|