Spaces:
Running
on
Zero
Running
on
Zero
gradio
Browse files
app.py
CHANGED
@@ -288,7 +288,7 @@ if __name__ == "__main__":
|
|
288 |
}
|
289 |
}
|
290 |
|
291 |
-
|
292 |
max-width: 200px !important; /* fix the width of image */
|
293 |
max-height: 200px !important; /* fix the height of image */
|
294 |
}
|
@@ -312,7 +312,8 @@ if __name__ == "__main__":
|
|
312 |
value="before.jpg",
|
313 |
label="Before",
|
314 |
show_label=True,
|
315 |
-
interactive=False
|
|
|
316 |
)
|
317 |
with gr.Column():
|
318 |
gr.Image(
|
@@ -320,6 +321,7 @@ if __name__ == "__main__":
|
|
320 |
label="After",
|
321 |
show_label=True,
|
322 |
interactive=False
|
|
|
323 |
)
|
324 |
|
325 |
with gr.Accordion("More info", open=False):
|
|
|
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 */
|
294 |
}
|
|
|
312 |
value="before.jpg",
|
313 |
label="Before",
|
314 |
show_label=True,
|
315 |
+
interactive=False,
|
316 |
+
elem_classes=["example-image"]
|
317 |
)
|
318 |
with gr.Column():
|
319 |
gr.Image(
|
|
|
321 |
label="After",
|
322 |
show_label=True,
|
323 |
interactive=False
|
324 |
+
elem_classes=["example-image"]
|
325 |
)
|
326 |
|
327 |
with gr.Accordion("More info", open=False):
|