"vscode:/vscode.git/clone" did not exist on "b8fc3c491c990a648b238e41f944c114249e71cc"
Commit e89b93b9 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update ocr_vllm_client.py

parent 7d2750a3
......@@ -108,7 +108,7 @@ def unparse_text(parsed_text):
return unparsed_text
def compress_image(image_path, max_size=(2048, 2048)):
def compress_image(image_path, max_size=(2248, 2248)):
img = Image.open(image_path)
width, height = img.size
aspect_ratio = width / height
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment