Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -230,11 +230,11 @@ async def on_message(message:discord.Message):
|
|
230 |
try: image = Image.open(io.BytesIO(image_bytes))
|
231 |
except: print(image_bytes)
|
232 |
image.save(f"latest.png")
|
233 |
-
prompt = ""
|
234 |
-
url = "latest.png"
|
235 |
-
init_image = load_image(url).convert("RGB")
|
236 |
-
image = pipe(prompt, image=init_image).images[0]
|
237 |
-
print(image)
|
238 |
image.save("latest.png")
|
239 |
embed.set_image(url="attachment://latest.png")
|
240 |
await e.edit(embed=embed, attachments=[discord.File(fp=f"latest.png")])
|
|
|
230 |
try: image = Image.open(io.BytesIO(image_bytes))
|
231 |
except: print(image_bytes)
|
232 |
image.save(f"latest.png")
|
233 |
+
# prompt = ""
|
234 |
+
# url = "latest.png"
|
235 |
+
# init_image = load_image(url).convert("RGB")
|
236 |
+
# image = pipe(prompt, image=init_image).images[0]
|
237 |
+
# print(image)
|
238 |
image.save("latest.png")
|
239 |
embed.set_image(url="attachment://latest.png")
|
240 |
await e.edit(embed=embed, attachments=[discord.File(fp=f"latest.png")])
|