ChenyangSi commited on
Commit
2728f78
1 Parent(s): 62013d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -20,10 +20,10 @@ pip_sd = pip_sd.to("cuda")
20
 
21
  pip_freeu = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
22
  pip_freeu = pip_freeu.to("cuda")
23
- # -------- freeu block registration
24
- register_free_upblock2d(pip_freeu, b1=1.2, b2=1.4, s1=0.9, s2=0.2)
25
- register_free_crossattn_upblock2d(pip_freeu, b1=1.2, b2=1.4, s1=0.9, s2=0.2)
26
- # -------- freeu block registration
27
 
28
  def infer(prompt):
29
 
 
20
 
21
  pip_freeu = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
22
  pip_freeu = pip_freeu.to("cuda")
23
+ # # -------- freeu block registration
24
+ # register_free_upblock2d(pip_freeu, b1=1.2, b2=1.4, s1=0.9, s2=0.2)
25
+ # register_free_crossattn_upblock2d(pip_freeu, b1=1.2, b2=1.4, s1=0.9, s2=0.2)
26
+ # # -------- freeu block registration
27
 
28
  def infer(prompt):
29