Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ import upscale_image
|
|
7 |
|
8 |
@spaces.GPU(duration=120)
|
9 |
def gradio_upscale(image):
|
10 |
-
|
11 |
-
return upscale_image.execute(
|
12 |
|
13 |
|
14 |
|
|
|
7 |
|
8 |
@spaces.GPU(duration=120)
|
9 |
def gradio_upscale(image):
|
10 |
+
pil_image = Image.fromarray(np.uint8(image)).convert('RGB')
|
11 |
+
return upscale_image.execute(image)
|
12 |
|
13 |
|
14 |
|