AlanB commited on
Commit
46fd08c
1 Parent(s): e6d855a

Added CLIPVisionModelWithProjection import

Browse files

https://github.com/huggingface/diffusers/pull/5993/files/69efda9fde2b874150ee3f2782e09009179605da

Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -23,7 +23,7 @@ from typing import Any, Callable, Dict, List, Optional, Union
23
 
24
  import torch
25
  import torch.nn.functional as F
26
- from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer
27
 
28
  from diffusers.models import AutoencoderKL, UNet2DConditionModel
29
  from diffusers.models.attention import Attention, GatedSelfAttentionDense
 
23
 
24
  import torch
25
  import torch.nn.functional as F
26
+ from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer, CLIPVisionModelWithProjection
27
 
28
  from diffusers.models import AutoencoderKL, UNet2DConditionModel
29
  from diffusers.models.attention import Attention, GatedSelfAttentionDense