Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,9 @@ def greet(sentence):
|
|
61 |
aux_vector = []
|
62 |
for word in sentenceWords:
|
63 |
aux_vector.append(reloaded_w2v_model.wv[word])
|
64 |
-
|
|
|
|
|
65 |
|
66 |
|
67 |
# pad 2726
|
|
|
61 |
aux_vector = []
|
62 |
for word in sentenceWords:
|
63 |
aux_vector.append(reloaded_w2v_model.wv[word])
|
64 |
+
w2vWords = []
|
65 |
+
w2vWords.append(aux_vector)
|
66 |
+
MCTIinput_vector = pad_sequences(w2vWords, maxlen=2726, padding='pre')
|
67 |
|
68 |
|
69 |
# pad 2726
|