sarwansingh commited on
Commit
a780eb2
·
verified ·
1 Parent(s): 5ec9812

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -83,6 +83,8 @@ with app_tab:
83
  st.write("Similarity Scores:", prediction_scores)
84
  matched_score = prediction_scores[match_idx].item()
85
 
 
 
86
  if matched_score >= 0.6:
87
  matched_name = os.path.basename(image_paths[match_idx]).split('.')[0]
88
  st.success(f"✅ Welcome: {matched_name}")
 
83
  st.write("Similarity Scores:", prediction_scores)
84
  matched_score = prediction_scores[match_idx].item()
85
 
86
+ ### show the new image with face highlighted and name printed on it
87
+
88
  if matched_score >= 0.6:
89
  matched_name = os.path.basename(image_paths[match_idx]).split('.')[0]
90
  st.success(f"✅ Welcome: {matched_name}")