1inkusFace commited on
Commit
3f97126
·
verified ·
1 Parent(s): 585c49f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ import datetime
21
  from gradio import themes
22
  from image_gen_aux import UpscaleWithModel
23
  #from diffusers.models.attention_processor import AttnProcessor2_0
 
24
 
25
  torch.backends.cuda.matmul.allow_tf32 = False
26
  torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
 
21
  from gradio import themes
22
  from image_gen_aux import UpscaleWithModel
23
  #from diffusers.models.attention_processor import AttnProcessor2_0
24
+ from transformers import CLIPTextModelWithProjection, CLIPTextModel, CLIPTokenizer
25
 
26
  torch.backends.cuda.matmul.allow_tf32 = False
27
  torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False