LeoXing1996 commited on
Commit
c1f6c50
1 Parent(s): 053817b

update max-size

Browse files
Files changed (1) hide show
  1. app-huggingface.py +1 -1
app-huggingface.py CHANGED
@@ -175,7 +175,7 @@ else:
175
  STABLE_DIFFUSION_PATH = './models/StableDiffusion/sd15'
176
 
177
 
178
- def preprocess_img(img_np, max_size: int = 512):
179
 
180
  ori_image = Image.fromarray(img_np).convert('RGB')
181
 
 
175
  STABLE_DIFFUSION_PATH = './models/StableDiffusion/sd15'
176
 
177
 
178
+ def preprocess_img(img_np, max_size: int = 1024):
179
 
180
  ori_image = Image.fromarray(img_np).convert('RGB')
181