alexnasa commited on
Commit
1c2f20c
·
verified ·
1 Parent(s): 0b94c05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def contextual_forward(self, blur_sigma = 0.0):
100
 
101
  # based of empirical findings
102
  # 8x8 and 16x16
103
- allowed_res = [pipe.unet.config.sample_size // 4, pipe.unet.config.sample_size // 8]
104
 
105
  if (dimension_squared == allowed_res[0] * allowed_res[0] or dimension_squared == allowed_res[1] * allowed_res[1]):
106
 
 
100
 
101
  # based of empirical findings
102
  # 8x8 and 16x16
103
+ allowed_res = [16, 8]
104
 
105
  if (dimension_squared == allowed_res[0] * allowed_res[0] or dimension_squared == allowed_res[1] * allowed_res[1]):
106