Spaces:
Sleeping
Sleeping
Pavani2704
commited on
Update app.py
Browse files
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)
|