Pavani2704 commited on
Commit
499e09b
·
verified ·
1 Parent(s): 8218770

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ elif option == "Age Detection":
32
  elif option == "Object Detection":
33
  st.title("Welcome to object detection")
34
 
35
- uploaded_files = st.file_uploader("Choose a image file",type="jpg")
36
 
37
  if uploaded_files is not None:
38
  Image=Image.open(uploaded_files)
 
32
  elif option == "Object Detection":
33
  st.title("Welcome to object detection")
34
 
35
+ uploaded_files = st.file_uploader("Choose a image file",type=["jpg","jpeg"])
36
 
37
  if uploaded_files is not None:
38
  Image=Image.open(uploaded_files)