Upload image_preprocessing_molmo.py with huggingface_hub
Browse files
image_preprocessing_molmo.py
CHANGED
@@ -489,8 +489,6 @@ class MolmoImageProcessor(BaseImageProcessor):
|
|
489 |
if images is None:
|
490 |
return {
|
491 |
"input_ids": tokens,
|
492 |
-
"images": None,
|
493 |
-
"image_input_idx": None
|
494 |
}
|
495 |
else:
|
496 |
n = len(images)
|
|
|
489 |
if images is None:
|
490 |
return {
|
491 |
"input_ids": tokens,
|
|
|
|
|
492 |
}
|
493 |
else:
|
494 |
n = len(images)
|