Commit
·
ded9c3a
1
Parent(s):
5f1623c
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def sentence_similarity(sent1, sent2, stopwords):
|
|
43 |
|
44 |
# Function to create a similarity matrix of sentences
|
45 |
def build_similarity_matrix(sentences, stopwords):
|
46 |
-
similarity_matrix = np.zeros((len(sentences), len(sentences))
|
47 |
|
48 |
for i in range(len(sentences)):
|
49 |
for j in range(len(sentences)):
|
|
|
43 |
|
44 |
# Function to create a similarity matrix of sentences
|
45 |
def build_similarity_matrix(sentences, stopwords):
|
46 |
+
similarity_matrix = np.zeros((len(sentences), len(sentences)))
|
47 |
|
48 |
for i in range(len(sentences)):
|
49 |
for j in range(len(sentences)):
|