Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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([
|