From 000cda0b36b545a1fc1d80f81d4dc8f21a939c06 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Wed, 21 Jun 2023 11:04:06 +0200 Subject: [PATCH] fix: use back image gen --- matrixai/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrixai/__init__.py b/matrixai/__init__.py index e4cc987..22cd141 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -778,9 +778,9 @@ def run(): 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( room_id=room.room_id, image_filepath=filename )