alexnasa commited on
Commit
b359266
·
verified ·
1 Parent(s): a998560

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ tag_model.to(device, dtype=weight_dtype)
174
 
175
  def preprocess_image(input_image: Image.Image) -> Image.Image:
176
  img = input_image.copy()
177
- img.thumbnail((512, 512), Image.Resampling.BILINEAR)
178
  return img
179
 
180
 
 
174
 
175
  def preprocess_image(input_image: Image.Image) -> Image.Image:
176
  img = input_image.copy()
177
+ img.thumbnail((1024, 1024), Image.Resampling.BILINEAR)
178
  return img
179
 
180