fix import glide
This commit is contained in:
parent
3d335f833c
commit
ca9f7ac2df
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue