Skip to content

Commit

Permalink
str fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gante committed Sep 23, 2024
1 parent 914533d commit a790b5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/transformers/models/imagegpt/modeling_imagegpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def forward(

if "pixel_values" in kwargs:
warnings.warn(
"The `pixel_values` argument is deprecated and will be removed in v4.47, use `input_ids`" " instead.",
"The `pixel_values` argument is deprecated and will be removed in v4.47, use `input_ids` instead.",
FutureWarning,
)

Expand Down Expand Up @@ -1002,7 +1002,7 @@ def forward(

if "pixel_values" in kwargs:
warnings.warn(
"The `pixel_values` argument is deprecated and will be removed in v4.47, use `input_ids`" " instead.",
"The `pixel_values` argument is deprecated and will be removed in v4.47, use `input_ids` instead.",
FutureWarning,
)

Expand Down Expand Up @@ -1134,7 +1134,7 @@ def forward(

if "pixel_values" in kwargs:
warnings.warn(
"The `pixel_values` argument is deprecated and will be removed in v4.47, use `input_ids`" " instead.",
"The `pixel_values` argument is deprecated and will be removed in v4.47, use `input_ids` instead.",
FutureWarning,
)

Expand Down

0 comments on commit a790b5b

Please sign in to comment.