gmastrapas commited on
Commit
d35adf7
1 Parent(s): d229069

fix: processor class types

Browse files
Files changed (1) hide show
  1. processing_clip.py +2 -2
processing_clip.py CHANGED
@@ -17,8 +17,8 @@ from .transform import OPENAI_DATASET_MEAN, OPENAI_DATASET_STD, image_transform
17
 
18
 
19
  class JinaCLIPProcessor(CLIPProcessor):
20
- image_processor_class = 'ImageProcessingMixin'
21
- tokenizer_class = 'PreTrainedTokenizerBase'
22
 
23
 
24
  """ Jina CLIP image processor implementation """
 
17
 
18
 
19
  class JinaCLIPProcessor(CLIPProcessor):
20
+ image_processor_class = 'AutoImageProcessor'
21
+ tokenizer_class = 'AutoTokenizer'
22
 
23
 
24
  """ Jina CLIP image processor implementation """