From 792b823d7ac173af8b6e65264e5c74262ed54fb5 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Wed, 21 Jun 2023 11:19:55 +0200 Subject: [PATCH] fix: add filename --- matrixai/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matrixai/__init__.py b/matrixai/__init__.py index 29d41de..e95cc6b 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -783,9 +783,10 @@ def run(): # 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_image(prompt, style, ratio, negative) await bot.api.send_image_message( room_id=room.room_id, image_filepath=filename )