Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,10 @@ def main():
|
|
47 |
"examples/example_6.jpg",
|
48 |
"examples/example_7.jpg"]
|
49 |
show_images = False
|
50 |
-
|
|
|
|
|
|
|
51 |
show_images = not show_images
|
52 |
if show_images:
|
53 |
st.header("Example Images")
|
|
|
47 |
"examples/example_6.jpg",
|
48 |
"examples/example_7.jpg"]
|
49 |
show_images = False
|
50 |
+
|
51 |
+
if st.checkbox("Show/Hide Examples"):
|
52 |
+
|
53 |
+
# display the text if the checkbox returns True value
|
54 |
show_images = not show_images
|
55 |
if show_images:
|
56 |
st.header("Example Images")
|