chap0lin commited on
Commit
f3dd9f9
1 Parent(s): 05a7fdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- MCTIinput_vector = pad_sequences(aux_vector, maxlen=2726, padding='pre')
 
 
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