Spaces:
Runtime error
Runtime error
added article changes
Browse files
app.py
CHANGED
|
@@ -35,11 +35,16 @@ def infer(image):
|
|
| 35 |
)
|
| 36 |
return (img,out_img)
|
| 37 |
|
|
|
|
|
|
|
| 38 |
iface = gr.Interface(
|
| 39 |
fn=infer,
|
| 40 |
title = "Super-resolution",
|
|
|
|
|
|
|
| 41 |
inputs=gr.inputs.Image(label="Input Image"),
|
| 42 |
outputs=[gr.outputs.Image(label="Resized 100x100 image"),
|
| 43 |
gr.outputs.Image(label="Super-resolution 300x300 image")
|
| 44 |
],
|
|
|
|
| 45 |
).launch(share = True)
|
|
|
|
| 35 |
)
|
| 36 |
return (img,out_img)
|
| 37 |
|
| 38 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/1609.05158' target='_blank'>Augmenting Convolutional networks with attention-based aggregation</a></p> <center>Contributors: <a href='https://twitter.com/ariG23498'>Aritra Roy Gosthipaty</a>|<a href='https://twitter.com/ritwik_raha'>Ritwik Raha</a>|<a href='https://twitter.com/Cr0wley_zz'>Devjyoti Chakraborty</a></center>"
|
| 39 |
+
|
| 40 |
iface = gr.Interface(
|
| 41 |
fn=infer,
|
| 42 |
title = "Super-resolution",
|
| 43 |
+
description = "This space is a demo of the paper 'Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Network' 👀",
|
| 44 |
+
article = article,
|
| 45 |
inputs=gr.inputs.Image(label="Input Image"),
|
| 46 |
outputs=[gr.outputs.Image(label="Resized 100x100 image"),
|
| 47 |
gr.outputs.Image(label="Super-resolution 300x300 image")
|
| 48 |
],
|
| 49 |
+
examples=[["camel.jpeg"]],
|
| 50 |
).launch(share = True)
|