Update processing_gemma3_omni.py
Browse files
processing_gemma3_omni.py
CHANGED
@@ -553,10 +553,7 @@ class Gemma3OmniProcessor(ProcessorMixin):
|
|
553 |
|
554 |
text_feats = self.tokenizer(
|
555 |
prompt_in,
|
556 |
-
return_tensors=return_tensors
|
557 |
-
padding=True,
|
558 |
-
truncation=True,
|
559 |
-
max_length=DEFAULT_MAX_LENGTH,
|
560 |
)
|
561 |
|
562 |
# Sanity check: #audio_soft_token == sum(audio_tok_cnt)
|
|
|
553 |
|
554 |
text_feats = self.tokenizer(
|
555 |
prompt_in,
|
556 |
+
return_tensors=return_tensors
|
|
|
|
|
|
|
557 |
)
|
558 |
|
559 |
# Sanity check: #audio_soft_token == sum(audio_tok_cnt)
|