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
9c7f7fc4
Unverified
Commit
9c7f7fc4
authored
Nov 20, 2023
by
Sayak Paul
Committed by
GitHub
Nov 20, 2023
Browse files
[ControlNet] fix import in single file loading (#5834)
fix import Co-authored-by:
Dhruv Nair
<
dhruv.nair@gmail.com
>
parent
4adad57e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/diffusers/loaders/single_file.py
src/diffusers/loaders/single_file.py
+2
-2
No files found.
src/diffusers/loaders/single_file.py
View file @
9c7f7fc4
...
...
@@ -194,8 +194,8 @@ class FromSingleFileMixin:
"StableDiffusionControlNetImg2ImgPipeline"
,
"StableDiffusionControlNetInpaintPipeline"
,
]:
from
.models.controlnet
import
ControlNetModel
from
.pipelines.controlnet.multicontrolnet
import
MultiControlNetModel
from
.
.models.controlnet
import
ControlNetModel
from
.
.pipelines.controlnet.multicontrolnet
import
MultiControlNetModel
# list/tuple or a single instance of ControlNetModel or MultiControlNetModel
if
not
(
...
...
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