diff --git a/tgbot/shit/prompting.py b/tgbot/shit/prompting.py index bd7e38a..c906f00 100644 --- a/tgbot/shit/prompting.py +++ b/tgbot/shit/prompting.py @@ -239,7 +239,7 @@ async def gen_image(update: Update, context: ContextTypes.DEFAULT_TYPE): result = await enqueue_prompt_t2i(args) - if result["error"] == 0: + if result["error"] == "OK": prompt_id = result['data']