Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
ca9f7ac2
Commit
ca9f7ac2
authored
Jun 15, 2022
by
Patrick von Platen
Browse files
fix import glide
parent
3d335f83
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/diffusers/pipelines/__init__.py
src/diffusers/pipelines/__init__.py
+1
-2
No files found.
src/diffusers/pipelines/__init__.py
View file @
ca9f7ac2
...
@@ -5,8 +5,7 @@ from .pipeline_ddpm import DDPM
...
@@ -5,8 +5,7 @@ from .pipeline_ddpm import DDPM
try
:
try
:
from
.pipeline_glide
import
GLIDE
from
.pipeline_glide
import
GLIDE
except
ImportError
:
except
(
NameError
,
ImportError
):
class
GLIDE
:
class
GLIDE
:
pass
pass
...
...
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