lily-hust commited on
Commit
3a1a3a1
·
1 Parent(s): f51433c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
  import cv2
 
3
  from PIL import Image
4
  import numpy as np
5
  import tensorflow as tf
@@ -11,9 +12,9 @@ st.markdown('A Deep learning application to identify if a satellite image clip c
11
 
12
  uploaded_file = st.file_uploader("Upload image files", type="jpg", accept_multiple_files=True)
13
 
14
- image_iterator = paginator("Select a page", uploaded_file)
15
- indices_on_page, images_on_page = map(list, zip(*image_iterator))
16
- st.image(images_on_page, width=100, caption=indices_on_page)
17
 
18
  img_height = 224
19
  img_width = 224
 
1
  import streamlit as st
2
  import cv2
3
+ import pandas
4
  from PIL import Image
5
  import numpy as np
6
  import tensorflow as tf
 
12
 
13
  uploaded_file = st.file_uploader("Upload image files", type="jpg", accept_multiple_files=True)
14
 
15
+ #image_iterator = paginator("Select a page", uploaded_file)
16
+ #indices_on_page, images_on_page = map(list, zip(*image_iterator))
17
+ st.image(uploaded_file, width=100)
18
 
19
  img_height = 224
20
  img_width = 224