Spaces:
Running
on
Zero
Running
on
Zero
gradio
Browse files
app.py
CHANGED
@@ -288,6 +288,13 @@ if __name__ == "__main__":
|
|
288 |
}
|
289 |
}
|
290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
.example-image {
|
292 |
max-width: 200px !important; /* fix the width of image */
|
293 |
max-height: 200px !important; /* fix the height of image */
|
@@ -300,24 +307,23 @@ if __name__ == "__main__":
|
|
300 |
Anonymize your group photos using Vance Blurring!
|
301 |
""")
|
302 |
|
303 |
-
with gr.Row():
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
)
|
321 |
|
322 |
with gr.Accordion("More info", open=False):
|
323 |
gr.Markdown(
|
|
|
288 |
}
|
289 |
}
|
290 |
|
291 |
+
example-images {
|
292 |
+
display: flex;
|
293 |
+
max-width: 600px;
|
294 |
+
align-items: center;
|
295 |
+
align: left;
|
296 |
+
}
|
297 |
+
|
298 |
.example-image {
|
299 |
max-width: 200px !important; /* fix the width of image */
|
300 |
max-height: 200px !important; /* fix the height of image */
|
|
|
307 |
Anonymize your group photos using Vance Blurring!
|
308 |
""")
|
309 |
|
310 |
+
with gr.Row(elem_id="example-images"):
|
311 |
+
with gr.Column():
|
312 |
+
gr.Image(
|
313 |
+
value="before.jpg",
|
314 |
+
label="Before",
|
315 |
+
show_label=True,
|
316 |
+
interactive=False,
|
317 |
+
elem_classes=["example-image"]
|
318 |
+
)
|
319 |
+
with gr.Column():
|
320 |
+
gr.Image(
|
321 |
+
value="after.jpg",
|
322 |
+
label="After",
|
323 |
+
show_label=True,
|
324 |
+
interactive=False,
|
325 |
+
elem_classes=["example-image"]
|
326 |
+
)
|
|
|
327 |
|
328 |
with gr.Accordion("More info", open=False):
|
329 |
gr.Markdown(
|