Spaces:
Runtime error
Runtime error
Added citations to original paper
Browse files
app.py
CHANGED
@@ -37,7 +37,18 @@ def super_resolve(image):
|
|
37 |
# Create the Gradio interface
|
38 |
inputs = gr.Image(type="pil", label="Upload an Image")
|
39 |
outputs = gr.Image(type="pil", label="Super-Resolved Image")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
gr.Interface(fn=super_resolve, inputs=inputs, outputs=outputs, title="Image Super-Resolution with Swin2SR",
|
42 |
-
description=
|
43 |
).launch()
|
|
|
37 |
# Create the Gradio interface
|
38 |
inputs = gr.Image(type="pil", label="Upload an Image")
|
39 |
outputs = gr.Image(type="pil", label="Super-Resolved Image")
|
40 |
+
dsc = """
|
41 |
+
Upload an image to generate a high-resolution version using the SeemoRe model.
|
42 |
+
|
43 |
+
**Citations:**
|
44 |
+
|
45 |
+
1. Marcos V. Conde, Ui-Jin Choi, Maxime Burchi, Radu Timofte, *Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration*, Proceedings of the European Conference on Computer Vision (ECCV) Workshops, 2022.
|
46 |
+
|
47 |
+
2. Jingyun Liang, Jiezhang Cao, Guolei Sun, Kai Zhang, Luc Van Gool, Radu Timofte, *SwinIR: Image Restoration Using Swin Transformer*, arXiv preprint arXiv:2108.10257, 2021.
|
48 |
+
|
49 |
+
For more details, refer to the original papers.
|
50 |
+
"""
|
51 |
|
52 |
gr.Interface(fn=super_resolve, inputs=inputs, outputs=outputs, title="Image Super-Resolution with Swin2SR",
|
53 |
+
description=dsc
|
54 |
).launch()
|