Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ transform_image = transforms.Compose(
|
|
23 |
|
24 |
@spaces.GPU
|
25 |
def fn(image):
|
26 |
-
if not image
|
27 |
return image
|
28 |
im = load_img(image, output_type="pil")
|
29 |
im = im.convert("RGB")
|
|
|
23 |
|
24 |
@spaces.GPU
|
25 |
def fn(image):
|
26 |
+
if not image:
|
27 |
return image
|
28 |
im = load_img(image, output_type="pil")
|
29 |
im = im.convert("RGB")
|