Spaces:
Sleeping
Sleeping
noumanjavaid
commited on
Commit
•
ff9b4b1
1
Parent(s):
feae4e9
Update app.py
Browse files
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 |
-
|
678 |
-
|
|
|
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)
|