Skip to content

Commit

Permalink
🐛 Bug: Fix the bug where uploaded compressed images cannot be recogni…
Browse files Browse the repository at this point in the history
…zed.
  • Loading branch information
yym68686 committed Jun 13, 2024
1 parent 70fe0ff commit 9fb2d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ async def handle_file(update, context):

if file_url == None and image_url:
file_url = image_url
message = Document_extract(file_url, None, engine)
message = Document_extract(file_url, image_url, engine)

robot.add_to_conversation(message, role, convo_id)
message = (
Expand Down

0 comments on commit 9fb2d50

Please sign in to comment.