venkat charan
commited on
Commit
•
8daf463
1
Parent(s):
2b565c4
Update app.py
Browse files
app.py
CHANGED
@@ -11,5 +11,5 @@ upload_file = st.file_uploader('choose a image file',type='jpg')
|
|
11 |
|
12 |
pipe = pipeline("image-classifcation",model='dima806/facial_age_image_detection')
|
13 |
|
14 |
-
st.write(pipe(st.
|
15 |
|
|
|
11 |
|
12 |
pipe = pipeline("image-classifcation",model='dima806/facial_age_image_detection')
|
13 |
|
14 |
+
st.write(pipe(st.image(Image.open(upload_file)))[0]['label'])
|
15 |
|