Spaces:
Runtime error
Runtime error
Shivam29rathore
commited on
Commit
·
26441fa
1
Parent(s):
89018e4
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def make_summary(word):
|
|
56 |
sentence_list = []
|
57 |
# Loop through all sentences and append sentence embeddings to list
|
58 |
for i in tokens:
|
59 |
-
sentence_embedding =
|
60 |
sentence_list.append(sentence_embedding)
|
61 |
# Create empty list for ndarray
|
62 |
sentence_array=[]
|
|
|
56 |
sentence_list = []
|
57 |
# Loop through all sentences and append sentence embeddings to list
|
58 |
for i in tokens:
|
59 |
+
sentence_embedding = model.sentence_vector(i)
|
60 |
sentence_list.append(sentence_embedding)
|
61 |
# Create empty list for ndarray
|
62 |
sentence_array=[]
|