Skip to content

Commit ae9041d

Browse files
authored
Update ocr.py
no max tokens
1 parent 3592504 commit ae9041d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/aipdf/ocr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ def process_image_to_markdown(file_object, client, model="gpt-4o", prompt = DEF
4848
}
4949
]
5050
}
51-
],
52-
max_tokens=1000
51+
]
5352
)
5453

5554
# Extract the markdown content from the response

0 commit comments

Comments
 (0)