fix import glide

This commit is contained in:
Patrick von Platen 2022-06-15 16:19:15 +02:00
parent 3d335f833c
commit ca9f7ac2df
1 changed files with 1 additions and 2 deletions

View File

@ -5,8 +5,7 @@ from .pipeline_ddpm import DDPM
try:
from .pipeline_glide import GLIDE
except ImportError:
except (NameError, ImportError):
class GLIDE:
pass