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
f17fae64
Unverified
Commit
f17fae64
authored
Jan 03, 2023
by
Anton Lozhkov
Committed by
GitHub
Jan 03, 2023
Browse files
Add UnCLIPImageVariationPipeline to dummy imports (#1897)
* Add UnCLIPImageVariationPipeline to dummy imports * style
parent
da310757
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/unclip/__init__.py
src/diffusers/pipelines/unclip/__init__.py
+1
-1
No files found.
src/diffusers/pipelines/unclip/__init__.py
View file @
f17fae64
...
...
@@ -10,7 +10,7 @@ try:
if
not
(
is_transformers_available
()
and
is_torch_available
()
and
is_transformers_version
(
">="
,
"4.25.0"
)):
raise
OptionalDependencyNotAvailable
()
except
OptionalDependencyNotAvailable
:
from
...utils.dummy_torch_and_transformers_objects
import
UnCLIPPipeline
from
...utils.dummy_torch_and_transformers_objects
import
UnCLIPImageVariationPipeline
,
UnCLIPPipeline
else
:
from
.pipeline_unclip
import
UnCLIPPipeline
from
.pipeline_unclip_image_variation
import
UnCLIPImageVariationPipeline
...
...
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