udpate wechat, fix some little bugs

This commit is contained in:
zhangwei13
2025-08-05 11:34:53 +08:00
parent b370ec0f0c
commit ae0ca3a8be
4 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ class DotsOCRParser:
def parse_pdf(self, input_path, filename, prompt_mode, save_dir):
print(f"loading pdf: {input_path}")
images_origin = load_images_from_pdf(input_path)
images_origin = load_images_from_pdf(input_path, dpi=self.dpi)
total_pages = len(images_origin)
tasks = [
{