fix import glide
This commit is contained in:
parent
3d335f833c
commit
ca9f7ac2df
|
@ -5,8 +5,7 @@ from .pipeline_ddpm import DDPM
|
|||
|
||||
try:
|
||||
from .pipeline_glide import GLIDE
|
||||
except ImportError:
|
||||
|
||||
except (NameError, ImportError):
|
||||
class GLIDE:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue