Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ def preprocess_image(input_image: Image.Image) -> Image.Image:
|
|
178 |
img.thumbnail((512, 512), Image.Resampling.BILINEAR)
|
179 |
return img
|
180 |
|
181 |
-
@spaces.GPU(duration=
|
182 |
def preprocess_n_magnify(input_image: Image.Image, progress=gr.Progress(track_tqdm=True),):
|
183 |
"""
|
184 |
Preprocess the input image and perform a single-step 4× magnification using the SeeSR pipeline.
|
|
|
178 |
img.thumbnail((512, 512), Image.Resampling.BILINEAR)
|
179 |
return img
|
180 |
|
181 |
+
@spaces.GPU(duration=120)
|
182 |
def preprocess_n_magnify(input_image: Image.Image, progress=gr.Progress(track_tqdm=True),):
|
183 |
"""
|
184 |
Preprocess the input image and perform a single-step 4× magnification using the SeeSR pipeline.
|