xilluill commited on
Commit
3e0e07e
·
1 Parent(s): 95775e7

update mini size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ class SamplingOptions:
31
  re_init: bool = False
32
  attn_mask: bool = False
33
 
34
- def resize_image(image_array, max_width=1360, max_height=768):
35
  # 将numpy数组转换为PIL图像
36
  if image_array.shape[-1] == 4:
37
  mode = 'RGBA'
 
31
  re_init: bool = False
32
  attn_mask: bool = False
33
 
34
+ def resize_image(image_array, max_width=512, max_height=512):
35
  # 将numpy数组转换为PIL图像
36
  if image_array.shape[-1] == 4:
37
  mode = 'RGBA'