Sujit Pal commited on
Commit
19eeba4
·
1 Parent(s): 81e1e49

fix: added type to st.file_uploader

Browse files
Files changed (1) hide show
  1. dashboard_featurefinder.py +1 -1
dashboard_featurefinder.py CHANGED
@@ -89,7 +89,7 @@ def app():
89
  aerial photographs. You will need to download from Unsplash to your
90
  computer and upload it to the demo app.
91
  """)
92
- buf = st.file_uploader("Upload Image for Analysis")
93
  searched_feature = st.text_input("Feature to find")
94
  if st.button("Find"):
95
  ftmp = NamedTemporaryFile()
 
89
  aerial photographs. You will need to download from Unsplash to your
90
  computer and upload it to the demo app.
91
  """)
92
+ buf = st.file_uploader("Upload Image for Analysis", type=["png", "jpg"])
93
  searched_feature = st.text_input("Feature to find")
94
  if st.button("Find"):
95
  ftmp = NamedTemporaryFile()