You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
texts.append(self.config.image_token_str) # Append start token to the last text. HF Processor will replace this token with the actual image tokens during processing.
258
+
texts.append(
259
+
self.config.image_token_str
260
+
) # Append start token to the last text. HF Processor will replace this token with the actual image tokens during processing.
257
261
else:
258
262
raiseValueError(f"Unsupported item type in interleaved sequence: {type(item)}")
259
-
263
+
260
264
outputs=self.hf_processor(
261
-
images=[images], # images is a batched to size of one.
265
+
images=[images], # images is a batched to size of one.
0 commit comments