analytics-jiten commited on
Commit
6cb821c
·
1 Parent(s): bdcb10c

Update classifier.py

Browse files
Files changed (1) hide show
  1. classifier.py +1 -1
classifier.py CHANGED
@@ -28,7 +28,7 @@ def predict_and_display(uploaded_file, model, class_labels):
28
  predicted_class_index = np.argmax(prediction)
29
  predicted_class_label = class_labels[predicted_class_index]
30
 
31
- st.markdown(f"<h3 style='font-weight: bold;'>Detected Emotion of the Facial Expression is:</h3><h1 style='color:blue; font-weight: bold;'> {predicted_class_label}</h1>",unsafe_allow_html=True)
32
  st.image(img, use_column_width=True)
33
 
34
 
 
28
  predicted_class_index = np.argmax(prediction)
29
  predicted_class_label = class_labels[predicted_class_index]
30
 
31
+ st.markdown(f"<h3 style='font-weight: bold;'>Recognized Emotion of the Facial Expression is:</h3><h1 style='color:blue; font-weight: bold;'> {predicted_class_label}</h1>",unsafe_allow_html=True)
32
  st.image(img, use_column_width=True)
33
 
34