alexnasa commited on
Commit
60bfc7d
·
verified ·
1 Parent(s): e76e753

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -187,7 +187,7 @@ def process(
187
  sample_times = 1,
188
  ) -> List[np.ndarray]:
189
 
190
- input_image = input_image.resize(256, 256)
191
 
192
  process_size = 512
193
  resize_preproc = transforms.Compose([
 
187
  sample_times = 1,
188
  ) -> List[np.ndarray]:
189
 
190
+ input_image = input_image.resize((256, 256), Image.Resampling.BILINEAR)
191
 
192
  process_size = 512
193
  resize_preproc = transforms.Compose([