1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
This commit is contained in:
Dhruv Nair
2025-05-21 10:29:53 +02:00
parent da09f915ac
commit b43dc75cef

View File

@@ -168,9 +168,8 @@ class DeprecatedPipelineMixin:
last_version = getattr(self.__class__, "_last_supported_version", __version__)
# Raise a warning that this pipeline is deprecated
logging.warning(
f"The {class_name} pipeline is deprecated and will not receive updates after version {last_version}. "
f"Please consider switching to a maintained pipeline."
logger.warning(
f"The {class_name} has been deprecated and will not receive bug fixes or feature updates after Diffusers version {last_version}. "
)
# Call the parent class's __init__ method