Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
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()
|