Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,10 +12,11 @@ st.markdown("This is a Deep Learning application to identify if a satellite imag
|
|
12 |
st.markdown('The predicting result will be "Palm", or "Others".')
|
13 |
st.markdown('You can click "Browse files" multiple times until adding all images before generating prediction.\n')
|
14 |
|
15 |
-
uploaded_file = st.file_uploader("Upload an image file", type="jpg", accept_multiple_files=True)
|
16 |
|
17 |
imageContainer = st.empty()
|
18 |
imageContainer.image(uploaded_file, width=100)
|
|
|
19 |
|
20 |
closeImage = st.button("clear all images")
|
21 |
|
|
|
12 |
st.markdown('The predicting result will be "Palm", or "Others".')
|
13 |
st.markdown('You can click "Browse files" multiple times until adding all images before generating prediction.\n')
|
14 |
|
15 |
+
#uploaded_file = st.file_uploader("Upload an image file", type="jpg", accept_multiple_files=True)
|
16 |
|
17 |
imageContainer = st.empty()
|
18 |
imageContainer.image(uploaded_file, width=100)
|
19 |
+
uploaded_file = imageContainer.file_uploader("Upload an image file", type="jpg", accept_multiple_files=True)
|
20 |
|
21 |
closeImage = st.button("clear all images")
|
22 |
|