From 9fb2d501494b00cc3bdb2a8acf601b2ebeb8f6dc Mon Sep 17 00:00:00 2001 From: yym68686 Date: Fri, 14 Jun 2024 03:40:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Bug:=20Fix=20the=20bug=20where?= =?UTF-8?q?=20uploaded=20compressed=20images=20cannot=20be=20recognized.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index d39efb76..4f411019 100644 --- a/bot.py +++ b/bot.py @@ -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 = (