lily-hust commited on
Commit
dbc362b
·
1 Parent(s): c1f5aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 file is not None:
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