Unverified Commit c85efbb9 authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

Fix deprecation warning (#2426)

Deprecation warning should only hit at version 0.15
parent 1e5eaca7
......@@ -537,7 +537,7 @@ class DiffusionPipeline(ConfigMixin):
if revision in DEPRECATED_REVISION_ARGS and version.parse(
version.parse(__version__).base_version
) >= version.parse("0.10.0"):
) >= version.parse("0.15.0"):
info = model_info(
pretrained_model_name_or_path,
use_auth_token=use_auth_token,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment