analytics-jiten commited on
Commit
b5dfd20
·
1 Parent(s): 737d73f

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"<h1 style='color:blue;font-weight: bold;'>Detected Emotion of the Facial Expression is: {predicted_class_label}</h1>")
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"<h1 style='color:blue;font-weight: bold;'>Detected Emotion of the Facial Expression is: {predicted_class_label}</h1>",unsafe_allow_html=True)
32
  st.image(img, use_column_width=True)
33
 
34