levimack commited on
Commit
28ecaf2
1 Parent(s): 3f92f1d

Update sentence_compare.py

Browse files
Files changed (1) hide show
  1. sentence_compare.py +1 -1
sentence_compare.py CHANGED
@@ -14,7 +14,7 @@ def compare(sentences1, sentences2):
14
 
15
  output = ""
16
  for i in range(len(sentences1)):
17
- output += "Score: {:.4f} \t\t {} \t\t {}\n".format(cosine_scores[i][i], sentences1[i], sentences2[i]))
18
 
19
  return output
20
 
 
14
 
15
  output = ""
16
  for i in range(len(sentences1)):
17
+ output += "Score: {:.4f} \t\t {} \t\t {}\n".format(cosine_scores[i][i], sentences1[i], sentences2[i])
18
 
19
  return output
20