mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
fix import glide
This commit is contained in:
@@ -5,8 +5,7 @@ from .pipeline_ddpm import DDPM
|
||||
|
||||
try:
|
||||
from .pipeline_glide import GLIDE
|
||||
except ImportError:
|
||||
|
||||
except (NameError, ImportError):
|
||||
class GLIDE:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user