Spaces:
Running
Running
add examples
Browse files- gradio_demo/app.py +6 -1
gradio_demo/app.py
CHANGED
@@ -188,7 +188,12 @@ with gr.Blocks() as demo:
|
|
188 |
3. Click `InstantIR magic!`.
|
189 |
""")
|
190 |
with gr.Row():
|
191 |
-
|
|
|
|
|
|
|
|
|
|
|
192 |
with gr.Column():
|
193 |
with gr.Row():
|
194 |
steps = gr.Number(label="Steps", value=30, step=1)
|
|
|
188 |
3. Click `InstantIR magic!`.
|
189 |
""")
|
190 |
with gr.Row():
|
191 |
+
with gr.Column():
|
192 |
+
lq_img = gr.Image(label="Low-quality image", type="pil")
|
193 |
+
gr.Examples(
|
194 |
+
examples = ["assets/lady.png", "assets/man.png", "assets/dog.png", "assets/panda.png", "assets/sculpture.png", "assets/cottage.png", "assets/Naruto.png", "assets/Konan.png"],
|
195 |
+
inputs = [lq_img]
|
196 |
+
)
|
197 |
with gr.Column():
|
198 |
with gr.Row():
|
199 |
steps = gr.Number(label="Steps", value=30, step=1)
|