fix: use back image gen
Some checks failed
black-action / runner / black formatter (push) Failing after 0s

This commit is contained in:
0xMRTT 2023-06-21 11:04:06 +02:00
parent 767a7d34d8
commit 000cda0b36
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -778,9 +778,9 @@ def run():
return None return None
#filename = await generate_image(prompt, style, ratio, negative, upscale=False) filename = await generate_image(prompt, style, ratio, negative, upscale=False)
filename = await generate_dalle_image(prompt, "1024x1024") #filename = await generate_dalle_image(prompt, "1024x1024")
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
) )