Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -423,7 +423,7 @@ async def on_message(message):
|
|
423 |
rt = time.time()
|
424 |
embed.set_footer(
|
425 |
text=
|
426 |
-
f"Image generation model is {m}. Refiner model is {r}. Took {gt - st} seconds to generate. Took {rt - gt} seconds to refine."
|
427 |
)
|
428 |
image.save("image.png")
|
429 |
file = discord.File("image.png", filename="image.png")
|
|
|
423 |
rt = time.time()
|
424 |
embed.set_footer(
|
425 |
text=
|
426 |
+
f"Image generation model is {m}. Refiner model is {r}. Took {round((gt - st) * 10) / 10} seconds to generate. Took {round((rt - gt) * 10) / 10} seconds to refine."
|
427 |
)
|
428 |
image.save("image.png")
|
429 |
file = discord.File("image.png", filename="image.png")
|