noumanjavaid commited on
Commit
ff9b4b1
1 Parent(s): feae4e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -674,8 +674,9 @@ if uploaded_file is not None:
674
  st.json(result)
675
  else:
676
  st.warning("No faces detected in the image")
677
- else:
678
- st.error("Failed to process image")
 
679
 
680
  def calculate_similarity(text1, text2):
681
  matcher = SequenceMatcher(None, text1, text2)
 
674
  st.json(result)
675
  else:
676
  st.warning("No faces detected in the image")
677
+
678
+ else:
679
+ st.error("Failed to process image")
680
 
681
  def calculate_similarity(text1, text2):
682
  matcher = SequenceMatcher(None, text1, text2)