Skip to content

Commit

Permalink
🐛 Bug: Fix the bug that cannot recognize images.
Browse files Browse the repository at this point in the history
💻 Code: Upgrade ModelMerge version to 0.7.8
  • Loading branch information
yym68686 committed Jun 25, 2024
1 parent 43762a6 commit e04cf18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async def command_bot(update, context, language=None, prompt=translator_prompt,
if Users.get_config(convo_id, "TITLE"):
title = f"`🤖️ {engine}`\n\n"

message = get_image_message(image_url, message, engine)
message = get_image_message(image_url, [{"type": "text", "text": message}], engine)
await getChatGPT(update, context, title, robot, message, chatid, messageid, convo_id, message_thread_id, pass_history)
else:
message = await context.bot.send_message(
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--index-url https://pypi.python.org/simple/
python-dotenv
md2tgmd==0.2.3
ModelMerge==0.7.7
ModelMerge==0.7.8
python-telegram-bot[webhooks,rate-limiter]==21.0.1

0 comments on commit e04cf18

Please sign in to comment.