fix prompting

This commit is contained in:
Owl 2025-03-15 11:10:52 +07:00
parent 3121e31fa6
commit 539c4c0b55

View File

@ -250,7 +250,7 @@ async def gen_image(update: Update, context: ContextTypes.DEFAULT_TYPE):
models = await list_models() models = await list_models()
return await context.bot.send_message(chat_id=update.effective_chat.id, text=models) return await context.bot.send_message(chat_id=update.effective_chat.id, text=models)
query = update.message.text.replace("prompting", "").replace("", "--").replace("\n", "") query = update.message.text.replace("prompting", "").replace("", "--").replace("\n", " ")
parser = create_prompting_parser() parser = create_prompting_parser()