bills commited on
Commit
89ed248
1 Parent(s): fff73c4

Add new package

Browse files
Files changed (2) hide show
  1. apps.py +3 -2
  2. requirements.txt +2 -1
apps.py CHANGED
@@ -56,13 +56,14 @@ eval_col2.metric("Recall", "83.54%")
56
  eval_col3.metric("mAP 0.5", "85.39%")
57
  eval_col4.metric("mAP 0.5:0.95", "62.63%")
58
 
 
 
59
  uploaded_file = st.file_uploader("Choose a ship imagery")
60
  if uploaded_file is not None:
61
  st.image(uploaded_file, caption='Image to predict')
62
 
63
- folder_path = st.text_input('Input the folder path of image')
64
 
65
- # st.write(uploaded_file.)
66
 
67
  prediction = st.button("Predict")
68
  if prediction:
 
56
  eval_col3.metric("mAP 0.5", "85.39%")
57
  eval_col4.metric("mAP 0.5:0.95", "62.63%")
58
 
59
+ st.write('Input the folder path of image')
60
+
61
  uploaded_file = st.file_uploader("Choose a ship imagery")
62
  if uploaded_file is not None:
63
  st.image(uploaded_file, caption='Image to predict')
64
 
 
65
 
66
+ st.write(uploaded_file.name)
67
 
68
  prediction = st.button("Predict")
69
  if prediction:
requirements.txt CHANGED
@@ -14,4 +14,5 @@ opencv-contrib-python==4.5.4.58
14
  folium==0.12.1
15
  streamlit-folium
16
  ipython==7.28.0
17
- psutil==5.9.1
 
 
14
  folium==0.12.1
15
  streamlit-folium
16
  ipython==7.28.0
17
+ psutil==5.9.1
18
+ torchvision==0.13.0