fix: use back image gen
Some checks failed
black-action / runner / black formatter (push) Failing after 0s
Some checks failed
black-action / runner / black formatter (push) Failing after 0s
This commit is contained in:
parent
767a7d34d8
commit
000cda0b36
@ -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
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user