shukdevdatta123 commited on
Commit
3338ea4
·
verified ·
1 Parent(s): 9033880

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -1,4 +1,3 @@
1
- #
2
  import os
3
  import zipfile
4
  import streamlit as st
@@ -62,6 +61,19 @@ def create_zip_file(image_buffers, zip_filename):
62
  st.title("Stripe Pattern Applier")
63
  st.write("Upload one or multiple images and apply a stripe pattern.")
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  # Radio button for single or multiple image upload
66
  upload_option = st.radio("Choose Upload Option", ["Upload Single Image", "Upload Multiple Images"])
67
 
 
 
1
  import os
2
  import zipfile
3
  import streamlit as st
 
61
  st.title("Stripe Pattern Applier")
62
  st.write("Upload one or multiple images and apply a stripe pattern.")
63
 
64
+ # Sidebar with instructions
65
+ st.sidebar.title("Instructions")
66
+ st.sidebar.write("""
67
+ 1. **Upload an Image**: Choose either a single image or multiple images by using the file uploader.
68
+ 2. **Choose a Pattern**: You can either apply a **single pattern** or apply **all available patterns** to your uploaded images.
69
+ 3. **Download**: Once the images are processed, you can download the individual processed image(s) or download all processed images in a ZIP file.
70
+ 4. **Pattern Options**: The available patterns include:
71
+ - **Vertical Stripes**
72
+ - **Diagonal Stripes**
73
+ - **Horizontal Stripes**
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