Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ with st.form("form", clear_on_submit=True):
|
|
26 |
uploaded_file = st.file_uploader("Upload image files", type="jpg", accept_multiple_files=True)
|
27 |
submitted = st.form_submit_button("UPLOAD!")
|
28 |
|
29 |
-
if submitted and
|
30 |
st.write("UPLOADED!")
|
31 |
st.image(uploaded_file, width=100)
|
32 |
|
|
|
26 |
uploaded_file = st.file_uploader("Upload image files", type="jpg", accept_multiple_files=True)
|
27 |
submitted = st.form_submit_button("UPLOAD!")
|
28 |
|
29 |
+
if submitted and uploaded_file is not None:
|
30 |
st.write("UPLOADED!")
|
31 |
st.image(uploaded_file, width=100)
|
32 |
|