Spaces:
Running
Running
Commit
•
038540f
1
Parent(s):
33e2863
upgrading to the latest gradio sdk (#1)
Browse files- upgrading to the latest gradio sdk (ab3932908b665bd6d38b7344a0cfdc3e74b9611c)
- upgrading imageslider to latest version (50b22e4f5b4e23a81e10d3c490860273f3ece40f)
- add download button to imageslider (402dff2effe97ac81d5c7ab2da44e6eff50c4b16)
Co-authored-by: yuvraj sharma <ysharma@users.noreply.huggingface.co>
- README.md +1 -1
- app.py +4 -1
- requirements.txt +1 -2
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 💻
|
|
4 |
colorFrom: purple
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: purple
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.31.5
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
app.py
CHANGED
@@ -150,7 +150,10 @@ css = """
|
|
150 |
demo = gr.Interface(
|
151 |
fn=process_img,
|
152 |
inputs=[gr.Image(type="pil", label="Input", value="images/img002x4.png"),],
|
153 |
-
outputs=ImageSlider(label="Super-Resolved Image",
|
|
|
|
|
|
|
154 |
title=title,
|
155 |
description=description,
|
156 |
article=article,
|
|
|
150 |
demo = gr.Interface(
|
151 |
fn=process_img,
|
152 |
inputs=[gr.Image(type="pil", label="Input", value="images/img002x4.png"),],
|
153 |
+
outputs=ImageSlider(label="Super-Resolved Image",
|
154 |
+
type="pil",
|
155 |
+
show_download_button=True,
|
156 |
+
), #[gr.Image(type="pil", label="Ouput", min_width=500)],
|
157 |
title=title,
|
158 |
description=description,
|
159 |
article=article,
|
requirements.txt
CHANGED
@@ -3,5 +3,4 @@ numpy
|
|
3 |
einops
|
4 |
PyYAML
|
5 |
Pillow>=6.2.2
|
6 |
-
|
7 |
-
gradio_imageslider==0.0.18
|
|
|
3 |
einops
|
4 |
PyYAML
|
5 |
Pillow>=6.2.2
|
6 |
+
gradio_imageslider==0.0.20
|
|