Spaces:
Running
on
Zero
Running
on
Zero
gradio
Browse files
app.py
CHANGED
@@ -296,18 +296,26 @@ if __name__ == "__main__":
|
|
296 |
""")
|
297 |
|
298 |
with gr.Row():
|
299 |
-
gr.
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
interactive=False
|
304 |
-
)
|
305 |
-
gr.Image(
|
306 |
-
value="after.jpg",
|
307 |
-
label="After",
|
308 |
-
show_label=True,
|
309 |
-
interactive=False
|
310 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
|
312 |
with gr.Accordion("More info", open=False):
|
313 |
gr.Markdown(
|
@@ -348,8 +356,9 @@ if __name__ == "__main__":
|
|
348 |
submit_btn.click(fn=advance_blur, inputs=[input_image], outputs=[output_image])
|
349 |
# Add a Gradio Examples section to let users see a sample run
|
350 |
|
|
|
351 |
gr.Examples(
|
352 |
-
examples=[["before.jpg"]],
|
353 |
inputs=[input_image],
|
354 |
outputs=[output_image],
|
355 |
fn=advance_blur,
|
|
|
296 |
""")
|
297 |
|
298 |
with gr.Row():
|
299 |
+
gr.Markdown(
|
300 |
+
"""
|
301 |
+
## Example:
|
302 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
)
|
304 |
+
with gr.Row():
|
305 |
+
with gr.Column():
|
306 |
+
gr.Image(
|
307 |
+
value="before.jpg",
|
308 |
+
label="Before",
|
309 |
+
show_label=True,
|
310 |
+
interactive=False
|
311 |
+
)
|
312 |
+
with gr.Column():
|
313 |
+
gr.Image(
|
314 |
+
value="after.jpg",
|
315 |
+
label="After",
|
316 |
+
show_label=True,
|
317 |
+
interactive=False
|
318 |
+
)
|
319 |
|
320 |
with gr.Accordion("More info", open=False):
|
321 |
gr.Markdown(
|
|
|
356 |
submit_btn.click(fn=advance_blur, inputs=[input_image], outputs=[output_image])
|
357 |
# Add a Gradio Examples section to let users see a sample run
|
358 |
|
359 |
+
with gr.row():
|
360 |
gr.Examples(
|
361 |
+
examples=[["before.jpg"]],
|
362 |
inputs=[input_image],
|
363 |
outputs=[output_image],
|
364 |
fn=advance_blur,
|