diff --git a/matrixai/__init__.py b/matrixai/__init__.py index a08a540..9840c73 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -164,9 +164,11 @@ def run(): async def generate_image(inspiration): imagine = Imagine() filename = str(uuid.uuid4()) + ".png" + print(inspiration) try: inspiration = Inspiration[inspiration] except: + await bot.api.send_markdown_message(room.room_id, f"{inspiration} cannot be found, using default one") inspiration = Inspiration.INSPIRATION_01 img_data = imagine.sdinsp(