RandomNameAnd6 commited on
Commit
cd23055
·
verified ·
1 Parent(s): be9dc9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def levenshtein_distance(s1, s2):
42
 
43
  return previous_row[-1]
44
 
45
- def string_similarity_index(original_text, comparison_text, threshold=0.605):
46
  """
47
  Calculate the similarity index between two strings based on Levenshtein distance
48
  and compare it to a threshold.
 
42
 
43
  return previous_row[-1]
44
 
45
+ def string_similarity_index(original_text, comparison_text, threshold=0.9):
46
  """
47
  Calculate the similarity index between two strings based on Levenshtein distance
48
  and compare it to a threshold.