Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -191,9 +191,9 @@ def preprocess_image(input_image: Image.Image) -> Image.Image:
|
|
191 |
@spaces.GPU()
|
192 |
def preprocess_n_magnify(input_image: Image.Image):
|
193 |
duration = preprocess_image(input_image)
|
194 |
-
magnified_img = magnify(input_image, duration)
|
195 |
|
196 |
-
return duration, (
|
197 |
|
198 |
|
199 |
def get_duration(
|
|
|
191 |
@spaces.GPU()
|
192 |
def preprocess_n_magnify(input_image: Image.Image):
|
193 |
duration = preprocess_image(input_image)
|
194 |
+
img, magnified_img = magnify(input_image, duration)
|
195 |
|
196 |
+
return duration, (img, magnified_img)
|
197 |
|
198 |
|
199 |
def get_duration(
|