From a790b5bd81f9eab7ca35949f1cf1bc7b3a4a8a33 Mon Sep 17 00:00:00 2001 From: Joao Gante Date: Mon, 23 Sep 2024 13:50:09 +0000 Subject: [PATCH] str fix --- src/transformers/models/imagegpt/modeling_imagegpt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transformers/models/imagegpt/modeling_imagegpt.py b/src/transformers/models/imagegpt/modeling_imagegpt.py index f72ab36ca055b2..33d0679a2864f0 100755 --- a/src/transformers/models/imagegpt/modeling_imagegpt.py +++ b/src/transformers/models/imagegpt/modeling_imagegpt.py @@ -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, ) @@ -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, ) @@ -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, )