fix: add filename
Some checks failed
black-action / runner / black formatter (push) Failing after -1s
Some checks failed
black-action / runner / black formatter (push) Failing after -1s
This commit is contained in:
parent
2bd1181ba2
commit
792b823d7a
@ -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
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user