Spaces:
Running
Running
Eduard-Sebastian Zamfir
commited on
Commit
•
a08472f
1
Parent(s):
038540f
merged
Browse files- app.py +11 -3
- images/0801x4.png +0 -0
- images/0840x4.png +0 -0
- images/0841x4.png +0 -0
- images/0870x4.png +0 -0
- images/0878x4.png +0 -0
- images/0884x4.png +0 -0
- images/0900x4.png +0 -0
app.py
CHANGED
@@ -109,7 +109,7 @@ Reconstructing high-resolution (HR) images from low-resolution (LR) inputs poses
|
|
109 |
</details>
|
110 |
|
111 |
|
112 |
-
#### Drag the slider on the super-resolution image left and right to see the changes in the image details.
|
113 |
|
114 |
<br>
|
115 |
|
@@ -129,7 +129,15 @@ Reconstructing high-resolution (HR) images from low-resolution (LR) inputs poses
|
|
129 |
article = "<p style='text-align: center'><a href='https://eduardzamfir.github.io/seemore' target='_blank'>See More Details: Efficient Image Super-Resolution by Experts Mining</a></p>"
|
130 |
|
131 |
#### Image,Prompts examples
|
132 |
-
examples = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
['images/img003x4.png'],
|
134 |
['images/img004x4.png'],
|
135 |
['images/img035x4.png'],
|
@@ -149,7 +157,7 @@ css = """
|
|
149 |
|
150 |
demo = gr.Interface(
|
151 |
fn=process_img,
|
152 |
-
inputs=[gr.Image(type="pil", label="Input", value="images/
|
153 |
outputs=ImageSlider(label="Super-Resolved Image",
|
154 |
type="pil",
|
155 |
show_download_button=True,
|
|
|
109 |
</details>
|
110 |
|
111 |
|
112 |
+
#### Drag the slider on the super-resolution image left and right to see the changes in the image details. SeemoRe performs x4 upscaling on the input image.
|
113 |
|
114 |
<br>
|
115 |
|
|
|
129 |
article = "<p style='text-align: center'><a href='https://eduardzamfir.github.io/seemore' target='_blank'>See More Details: Efficient Image Super-Resolution by Experts Mining</a></p>"
|
130 |
|
131 |
#### Image,Prompts examples
|
132 |
+
examples = [
|
133 |
+
['images/0801x4.png'],
|
134 |
+
['images/0840x4.png'],
|
135 |
+
['images/0841x4.png'],
|
136 |
+
['images/0870x4.png'],
|
137 |
+
['images/0878x4.png'],
|
138 |
+
['images/0884x4.png'],
|
139 |
+
['images/0900x4.png'],
|
140 |
+
['images/img002x4.png'],
|
141 |
['images/img003x4.png'],
|
142 |
['images/img004x4.png'],
|
143 |
['images/img035x4.png'],
|
|
|
157 |
|
158 |
demo = gr.Interface(
|
159 |
fn=process_img,
|
160 |
+
inputs=[gr.Image(type="pil", label="Input", value="images/0878x4.png"),],
|
161 |
outputs=ImageSlider(label="Super-Resolved Image",
|
162 |
type="pil",
|
163 |
show_download_button=True,
|
images/0801x4.png
ADDED
images/0840x4.png
ADDED
images/0841x4.png
ADDED
images/0870x4.png
ADDED
images/0878x4.png
ADDED
images/0884x4.png
ADDED
images/0900x4.png
ADDED