Update app.py
Browse files
app.py
CHANGED
@@ -74,6 +74,19 @@ st.sidebar.write("""
|
|
74 |
- **Vertical Concentrated Stripes**
|
75 |
""")
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
# Radio button for single or multiple image upload
|
78 |
upload_option = st.radio("Choose Upload Option", ["Upload Single Image", "Upload Multiple Images"])
|
79 |
|
|
|
74 |
- **Vertical Concentrated Stripes**
|
75 |
""")
|
76 |
|
77 |
+
# Modal Popup for Instructions (Expander with images)
|
78 |
+
with st.expander("Learn about Face Filtering", expanded=False):
|
79 |
+
st.write(
|
80 |
+
"Face filtering is a creative technique that enhances images by applying various effects to highlight different features of the subject. The filters available in this app include Detail, which sharpens textures and makes features stand out; Edge Enhance and Edge Enhance More, which accentuate edges for a defined look; Smooth and Smooth More, which soften the image and reduce imperfections for a polished appearance; and Sharpen, which increases contrast and clarity to reveal finer details. Together, these filters allow users to transform their photos, emphasizing beauty and enabling unique artistic interpretations, making face filtering an engaging way to manipulate images and express creativity."
|
81 |
+
)
|
82 |
+
|
83 |
+
# Example images for face filtering (You can replace these with any actual images you want to display)
|
84 |
+
# For example, if you have sample images, you can display them here:
|
85 |
+
st.image("Barcode Pattern.jpg.jpg", caption="Verticle Stripe Pattern", use_column_width=True)
|
86 |
+
st.image("Diagonal Stripes.jpg", caption="Diagonal Stripe Pattern", use_column_width=True)
|
87 |
+
st.image("horizontal stripe pattern.jpg", caption="Horizontal Stripe Pattern", use_column_width=True)
|
88 |
+
st.image("Vertical Concentrated.jpg", caption="Vertical Concentrated Stripe Pattern", use_column_width=True)
|
89 |
+
|
90 |
# Radio button for single or multiple image upload
|
91 |
upload_option = st.radio("Choose Upload Option", ["Upload Single Image", "Upload Multiple Images"])
|
92 |
|