Spaces:
Runtime error
Runtime error
msg
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def infer(image):
|
|
48 |
|
49 |
return (pd.DataFrame(data=out.values(), index=out.keys()).transpose(), img,out_img)
|
50 |
|
51 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1609.05158' target='_blank'>Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network</a></p><center> <a href='https://keras.io/examples/vision/super_resolution_sub_pixel/' target='_blank'>Image Super-Resolution using an Efficient Sub-Pixel CNN</a></p>
|
52 |
|
53 |
# examples = [['examples/2000-04-28-18-21-24_L5_rgb.jpg'],['examples/2000-08-02-18-23-18_L5_rgb.jpg'],
|
54 |
# ['examples/2000-08-18-18-23-46_L5_rgb.jpg'],['examples/2000-09-19-18-24-18_L5_rgb.jpg'],['examples/2000-10-21-18-24-43_L5_rgb.jpg']]
|
@@ -61,7 +61,7 @@ out3 = gr.outputs.Image(label="Super-resolution x3 image", type='pil')
|
|
61 |
iface = gr.Interface(
|
62 |
fn=infer,
|
63 |
title = " Satellite Super-resolution",
|
64 |
-
description = "This space is a demo of
|
65 |
article = article,
|
66 |
inputs=gr.inputs.Image(label="Input Image"),
|
67 |
outputs=[out1,out2,out3],
|
|
|
48 |
|
49 |
return (pd.DataFrame(data=out.values(), index=out.keys()).transpose(), img,out_img)
|
50 |
|
51 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1609.05158' target='_blank'>Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network</a></p><center> <a href='https://keras.io/examples/vision/super_resolution_sub_pixel/' target='_blank'>Image Super-Resolution using an Efficient Sub-Pixel CNN</a></p>"
|
52 |
|
53 |
# examples = [['examples/2000-04-28-18-21-24_L5_rgb.jpg'],['examples/2000-08-02-18-23-18_L5_rgb.jpg'],
|
54 |
# ['examples/2000-08-18-18-23-46_L5_rgb.jpg'],['examples/2000-09-19-18-24-18_L5_rgb.jpg'],['examples/2000-10-21-18-24-43_L5_rgb.jpg']]
|
|
|
61 |
iface = gr.Interface(
|
62 |
fn=infer,
|
63 |
title = " Satellite Super-resolution",
|
64 |
+
description = "This space is a demo of Satellite image Super-Resolution using a Sub-Pixel Convolutional Neural Network",
|
65 |
article = article,
|
66 |
inputs=gr.inputs.Image(label="Input Image"),
|
67 |
outputs=[out1,out2,out3],
|