Commit e3c8af26 authored by Patrick von Platen's avatar Patrick von Platen
Browse files

up

parent ca9f7ac2
......@@ -6,6 +6,7 @@ from .pipeline_ddpm import DDPM
try:
from .pipeline_glide import GLIDE
except (NameError, ImportError):
class GLIDE:
pass
......
......@@ -31,11 +31,7 @@ try:
from transformers.activations import ACT2FN
from transformers.modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling
from transformers.modeling_utils import PreTrainedModel
from transformers.utils import (
ModelOutput,
add_start_docstrings_to_model_forward,
replace_return_docstrings,
)
from transformers.utils import ModelOutput, add_start_docstrings_to_model_forward, replace_return_docstrings
except:
print("Transformers is not installed")
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment