Araeynn commited on
Commit
ff00104
·
verified ·
1 Parent(s): ad16530

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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")])