ford442 commited on
Commit
5eaa50c
·
verified ·
1 Parent(s): 2ef1afd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -27,7 +27,10 @@ import time
27
  import datetime
28
  from gradio import themes
29
  from image_gen_aux import UpscaleWithModel
30
- from diffusers.models.attention_processor import AttnProcessor2_0
 
 
 
31
 
32
  torch.backends.cuda.matmul.allow_tf32 = False
33
  torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
 
27
  import datetime
28
  from gradio import themes
29
  from image_gen_aux import UpscaleWithModel
30
+
31
+ #from diffusers.models.attention_processor import AttnProcessor2_0
32
+
33
+ from free_lunch_utils import register_free_upblock2d, register_free_crossattn_upblock2d
34
 
35
  torch.backends.cuda.matmul.allow_tf32 = False
36
  torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False