Skip to content

Commit e3c8af2

Browse files
up
1 parent ca9f7ac commit e3c8af2

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/diffusers/pipelines/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
try:
77
from .pipeline_glide import GLIDE
88
except (NameError, ImportError):
9+
910
class GLIDE:
1011
pass
1112

src/diffusers/pipelines/pipeline_glide.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@
3131
from transformers.activations import ACT2FN
3232
from transformers.modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling
3333
from transformers.modeling_utils import PreTrainedModel
34-
from transformers.utils import (
35-
ModelOutput,
36-
add_start_docstrings_to_model_forward,
37-
replace_return_docstrings,
38-
)
34+
from transformers.utils import ModelOutput, add_start_docstrings_to_model_forward, replace_return_docstrings
3935
except:
4036
print("Transformers is not installed")
4137
pass

0 commit comments

Comments
 (0)