fix: add filename
Some checks failed
black-action / runner / black formatter (push) Failing after -1s

This commit is contained in:
0xMRTT 2023-06-21 11:19:55 +02:00
parent 2bd1181ba2
commit 792b823d7a
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -783,9 +783,10 @@ def run():
# Generate an inspired image # Generate an inspired image
inspired_image = imagine.sdinsp(Inspiration.INSPIRATION_01) #inspired_image = imagine.sdinsp(Inspiration.INSPIRATION_01)
#filename = await generate_dalle_image(prompt, "1024x1024") #filename = await generate_dalle_image(prompt, "1024x1024")
filename = await generate_image(prompt, style, ratio, negative)
await bot.api.send_image_message( await bot.api.send_image_message(
room_id=room.room_id, image_filepath=filename room_id=room.room_id, image_filepath=filename
) )