Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
16049caf
Commit
16049caf
authored
Jul 26, 2023
by
Patrick von Platen
Browse files
quick fix
parent
6a6dfe1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/utils/import_utils.py
src/diffusers/utils/import_utils.py
+1
-1
No files found.
src/diffusers/utils/import_utils.py
View file @
16049caf
...
@@ -571,7 +571,7 @@ class DummyObject(type):
...
@@ -571,7 +571,7 @@ class DummyObject(type):
"""
"""
def
__getattr__
(
cls
,
key
):
def
__getattr__
(
cls
,
key
):
if
key
.
startswith
(
"_"
):
if
key
.
startswith
(
"_"
)
and
key
!=
"_load_connected_pipes"
:
return
super
().
__getattr__
(
cls
,
key
)
return
super
().
__getattr__
(
cls
,
key
)
requires_backends
(
cls
,
cls
.
_backends
)
requires_backends
(
cls
,
cls
.
_backends
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment