[Bugfix] Standardize custom HF Processor init (#37289)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -76,8 +76,10 @@ class DeepseekOCR2ProcessingInfo(BaseProcessingInfo):
|
||||
crop_mode=CROP_MODE,
|
||||
strategy="v2",
|
||||
)
|
||||
|
||||
return self.ctx.get_hf_processor(
|
||||
DeepseekOCRProcessor, **{**kwargs, **v2_processor_config}
|
||||
DeepseekOCRProcessor,
|
||||
**{**v2_processor_config, **kwargs},
|
||||
)
|
||||
|
||||
def get_supported_mm_limits(self) -> Mapping[str, int | None]:
|
||||
|
||||
Reference in New Issue
Block a user