NassimeBejaia commited on
Commit
b2bc3d3
1 Parent(s): f887f9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -163,8 +163,8 @@ def main():
163
 
164
  st.subheader('Continue to face analysis :')
165
 
166
- obj = DeepFace.analyze(img_path = listhead[1], actions = ['age', 'gender', 'race', 'emotion'], enforce_detection=False)
167
- st.write(obj)
168
 
169
  return
170
 
 
163
 
164
  st.subheader('Continue to face analysis :')
165
 
166
+ obj = DeepFace.analyze(img_path = listhead[1], actions = ['age', 'gender'], enforce_detection=False)
167
+ st.write('age : ', obj['age'], 'gender : ', obj['gender'])
168
 
169
  return
170