alexnasa commited on
Commit
291367f
·
verified ·
1 Parent(s): cb8b67b

Update app.py

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