Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -409,15 +409,15 @@ async def on_message(message):
|
|
409 |
image, m = (await SD.text_to_image(imgp, negative_prompt=np), "Stable Diffusion 2-1")
|
410 |
# image, m = (await SDXL.text_to_image(imgp, negative_prompt=np), "stable-diffusion-xl-base-1.0")
|
411 |
image.save("image.png")
|
412 |
-
file = discord.File("image.png", filename="image.png", description=imgp)
|
413 |
embed.set_image(url="attachment://image.png")
|
414 |
embed.set_footer(
|
415 |
text=
|
416 |
-
|
417 |
)
|
418 |
await e.edit(embed=embed, attachments=[file])
|
419 |
image = await UP.image_to_image("image.png")
|
420 |
-
image.save("image.png")
|
421 |
file = discord.File("image.png", filename="image.png", description=imgp)
|
422 |
embed.set_image(url="attachment://image.png")
|
423 |
embed.set_footer(
|
|
|
409 |
image, m = (await SD.text_to_image(imgp, negative_prompt=np), "Stable Diffusion 2-1")
|
410 |
# image, m = (await SDXL.text_to_image(imgp, negative_prompt=np), "stable-diffusion-xl-base-1.0")
|
411 |
image.save("image.png")
|
412 |
+
"""file = discord.File("image.png", filename="image.png", description=imgp)
|
413 |
embed.set_image(url="attachment://image.png")
|
414 |
embed.set_footer(
|
415 |
text=
|
416 |
+
'''Upscaling...'''
|
417 |
)
|
418 |
await e.edit(embed=embed, attachments=[file])
|
419 |
image = await UP.image_to_image("image.png")
|
420 |
+
image.save("image.png")"""
|
421 |
file = discord.File("image.png", filename="image.png", description=imgp)
|
422 |
embed.set_image(url="attachment://image.png")
|
423 |
embed.set_footer(
|