felipekitamura commited on
Commit
ef24c39
·
verified ·
1 Parent(s): b065d7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -87,8 +87,8 @@ def inference(word1, word2, word3):
87
  word_list.extend(output)
88
  words = {key: model[key] for key in word_list}
89
  words[word3 + " + (" + word2 + " - " + word1 + ")"] = transform
90
- data = np.concatenate([x[np.newaxis, :] for x in words.values()], axis=0)
91
- print(data.shape)
92
  labels = words.keys()
93
  #reduced_data_pca = reduce_dimensions(data, method='PCA')
94
  #print(reduced_data_pca.shape)
 
87
  word_list.extend(output)
88
  words = {key: model[key] for key in word_list}
89
  words[word3 + " + (" + word2 + " - " + word1 + ")"] = transform
90
+ #data = np.concatenate([x[np.newaxis, :] for x in words.values()], axis=0)
91
+ #print(data.shape)
92
  labels = words.keys()
93
  #reduced_data_pca = reduce_dimensions(data, method='PCA')
94
  #print(reduced_data_pca.shape)