Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,9 +109,9 @@ def verify_signature(document_image, reference_number):
109
  similarity_percentage = round(similarity * 100, 2)
110
 
111
  # Classification based on similarity score
112
- if similarity_percentage > 55:
113
  classification = "βœ… Matched"
114
- elif 40 <= similarity_percentage <= 55:
115
  classification = "⚠️ Manual Check Recommended"
116
  else:
117
  classification = "❌ Not Matched"
 
109
  similarity_percentage = round(similarity * 100, 2)
110
 
111
  # Classification based on similarity score
112
+ if similarity_percentage > 50:
113
  classification = "βœ… Matched"
114
+ elif 30 <= similarity_percentage <= 50:
115
  classification = "⚠️ Manual Check Recommended"
116
  else:
117
  classification = "❌ Not Matched"