File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/diffusers/pipelines/pixart_alpha Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ def encode_prompt(
366366 ):
367367 removed_text = self .tokenizer .batch_decode (untruncated_ids [:, max_length - 1 : - 1 ])
368368 logger .warning (
369- "The following part of your input was truncated because CLIP can only handle sequences up to"
369+ "The following part of your input was truncated because T5 can only handle sequences up to"
370370 f" { max_length } tokens: { removed_text } "
371371 )
372372
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ def encode_prompt(
292292 ):
293293 removed_text = self .tokenizer .batch_decode (untruncated_ids [:, max_length - 1 : - 1 ])
294294 logger .warning (
295- "The following part of your input was truncated because CLIP can only handle sequences up to"
295+ "The following part of your input was truncated because T5 can only handle sequences up to"
296296 f" { max_length } tokens: { removed_text } "
297297 )
298298
You can’t perform that action at this time.
0 commit comments