Nikhil0702 commited on
Commit
bdb60ec
·
verified ·
1 Parent(s): 5348355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ if uploaded_file is not None:
109
  ax.axis("off")
110
 
111
  if gender is None:
112
- msg = f"❌ This is not detected as a picture of a man or woman. (Confidence: {conf*100:.1f}%)"
113
  ax.set_title(msg, fontsize=10, color="red")
114
  st.pyplot(fig)
115
  st.warning(msg)
 
109
  ax.axis("off")
110
 
111
  if gender is None:
112
+ msg = "❌ This is not detected as a picture of a man or woman."
113
  ax.set_title(msg, fontsize=10, color="red")
114
  st.pyplot(fig)
115
  st.warning(msg)