diff --git a/src/aipdf/ocr.py b/src/aipdf/ocr.py index e82bda3..40dfc54 100644 --- a/src/aipdf/ocr.py +++ b/src/aipdf/ocr.py @@ -48,8 +48,7 @@ def process_image_to_markdown(file_object, client, model="gpt-4o", prompt = DEF } ] } - ], - max_tokens=1000 + ] ) # Extract the markdown content from the response