Skip to content

Commit b43dc75

Browse files
committed
update
1 parent da09f91 commit b43dc75

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/diffusers/pipelines/pipeline_utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,8 @@ def __init__(self, *args, **kwargs):
168168
last_version = getattr(self.__class__, "_last_supported_version", __version__)
169169

170170
# Raise a warning that this pipeline is deprecated
171-
logging.warning(
172-
f"The {class_name} pipeline is deprecated and will not receive updates after version {last_version}. "
173-
f"Please consider switching to a maintained pipeline."
171+
logger.warning(
172+
f"The {class_name} has been deprecated and will not receive bug fixes or feature updates after Diffusers version {last_version}. "
174173
)
175174

176175
# Call the parent class's __init__ method

0 commit comments

Comments
 (0)