gustproof commited on
Commit
6851e01
·
verified ·
1 Parent(s): 1cc1d5e

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -124,7 +124,7 @@ col1, col2 = st.columns(2)
124
 
125
  with col1:
126
  st.header("Upload Image")
127
- uploaded_file = st.file_uploader("Choose an image...")
128
 
129
  if uploaded_file is not None:
130
  # Read the image bytes
 
124
 
125
  with col1:
126
  st.header("Upload Image")
127
+ uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png", "webp"])
128
 
129
  if uploaded_file is not None:
130
  # Read the image bytes