fix: get setting param
This commit is contained in:
@@ -660,7 +660,7 @@ class MineruOCRService(OCRServiceBase):
|
||||
Dict with 'markdown', 'latex', 'mathml' keys.
|
||||
"""
|
||||
try:
|
||||
if self.image_processor and get_settings().is_padding:
|
||||
if self.image_processor and settings.is_padding:
|
||||
image = self.image_processor.add_padding(image)
|
||||
|
||||
# Convert numpy array to image bytes
|
||||
|
||||
Reference in New Issue
Block a user