gurwindersingh commited on
Commit
95f9f46
·
1 Parent(s): 133c7e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,8 +91,8 @@ if img_file_buffer is not None:
91
  img = cv2.putText(img, output, label_position, cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 2)
92
  st.image(img, use_column_width=True)
93
  st.write("emotion done")
94
- except:
95
- st.write("face is not clear")
96
 
97
  #########################
98
  imgS = cv2.resize(image,(0,0),None,0.25,0.25)
 
91
  img = cv2.putText(img, output, label_position, cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 2)
92
  st.image(img, use_column_width=True)
93
  st.write("emotion done")
94
+ except:
95
+ st.write("face is not clear")
96
 
97
  #########################
98
  imgS = cv2.resize(image,(0,0),None,0.25,0.25)