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

fix bad error message when transformers is missing (#4714)

parent 6abc66ef
...@@ -567,7 +567,7 @@ class DummyObject(type): ...@@ -567,7 +567,7 @@ class DummyObject(type):
""" """
def __getattr__(cls, key): def __getattr__(cls, key):
if key.startswith("_") and key != "_load_connected_pipes": if key.startswith("_") and key not in ["_load_connected_pipes", "_is_onnx"]:
return super().__getattr__(cls, key) return super().__getattr__(cls, key)
requires_backends(cls, cls._backends) requires_backends(cls, cls._backends)
......
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