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
8e5945a7
Commit
8e5945a7
authored
Jun 15, 2022
by
anton-l
Browse files
fix glide import error
parent
84bd65bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/diffusers/pipelines/__init__.py
src/diffusers/pipelines/__init__.py
+5
-1
src/diffusers/pipelines/pipeline_glide.py
src/diffusers/pipelines/pipeline_glide.py
+1
-0
No files found.
src/diffusers/pipelines/__init__.py
View file @
8e5945a7
from
.pipeline_bddm
import
BDDM
from
.pipeline_ddim
import
DDIM
from
.pipeline_ddpm
import
DDPM
from
.pipeline_glide
import
GLIDE
try
:
from
.pipeline_glide
import
GLIDE
except
ImportError
:
class
GLIDE
:
pass
from
.pipeline_latent_diffusion
import
LatentDiffusion
from
.pipeline_pndm
import
PNDM
src/diffusers/pipelines/pipeline_glide.py
View file @
8e5945a7
...
...
@@ -15,6 +15,7 @@
""" PyTorch CLIP model."""
import
math
import
logging
from
dataclasses
import
dataclass
from
typing
import
Any
,
Optional
,
Tuple
,
Union
...
...
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