fix prompting
This commit is contained in:
parent
3121e31fa6
commit
539c4c0b55
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ async def gen_image(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
|||
models = await list_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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue