Update processing_minicpmv.py
Browse files- processing_minicpmv.py +1 -1
processing_minicpmv.py
CHANGED
|
@@ -45,7 +45,7 @@ class MiniCPMVProcessor(ProcessorMixin):
|
|
| 45 |
image_processor_class = "AutoImageProcessor"
|
| 46 |
tokenizer_class = "AutoTokenizer"
|
| 47 |
|
| 48 |
-
def __init__(self, image_processor=None, tokenizer=None):
|
| 49 |
super().__init__(image_processor, tokenizer)
|
| 50 |
self.version = image_processor.version
|
| 51 |
|
|
|
|
| 45 |
image_processor_class = "AutoImageProcessor"
|
| 46 |
tokenizer_class = "AutoTokenizer"
|
| 47 |
|
| 48 |
+
def __init__(self, image_processor=None, tokenizer=None, **kwargs):
|
| 49 |
super().__init__(image_processor, tokenizer)
|
| 50 |
self.version = image_processor.version
|
| 51 |
|