hacpdsae2023 commited on
Commit
755eb55
·
1 Parent(s): 1154940

np.zeroes -> np.zeros

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ embeddings = model.encode(sentences, convert_to_tensor=True)
23
  cosine_scores = util.cos_sim(embeddings, embeddings)
24
 
25
  # creating adjacency matrix
26
- A = np.zeroes((len(sentences),len(sentences)))
27
 
28
  #Output the pairs with their score
29
  for i in range(len(sentences)):
 
23
  cosine_scores = util.cos_sim(embeddings, embeddings)
24
 
25
  # creating adjacency matrix
26
+ A = np.zeros((len(sentences),len(sentences)))
27
 
28
  #Output the pairs with their score
29
  for i in range(len(sentences)):