Araeynn commited on
Commit
6d33b1f
1 Parent(s): 2bd7860

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -233,7 +233,7 @@ async def on_message(message:discord.Message):
233
  text=
234
  """Refining..."""
235
  )
236
- await e.edit(embed=embed, attachment=file)
237
  gt = time.time()
238
  image, r = (await RF.image_to_image(f"{imgn}.png", num_inference_steps=35, prompt=imgp, negative_prompt=np), "stable-diffusion-xl-refiner-1.0")
239
  rt = time.time()
 
233
  text=
234
  """Refining..."""
235
  )
236
+ await e.edit(embed=embed, files=[file], attachments=[])
237
  gt = time.time()
238
  image, r = (await RF.image_to_image(f"{imgn}.png", num_inference_steps=35, prompt=imgp, negative_prompt=np), "stable-diffusion-xl-refiner-1.0")
239
  rt = time.time()