felipekitamura commited on
Commit
a1d9ff4
·
verified ·
1 Parent(s): fbcf726

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ def inference(word1, word2, word3):
42
  labels = words.keys()
43
  reduced_data_pca = reduce_dimensions(data, method='PCA')
44
  df = pd.DataFrame({
45
- "x": reduced_data[:, 0],
46
- "y": reduced_data[:, 1],
47
  "color": ["b", "b", "b", "r", "g", "g", "g"]
48
  })
49
 
 
42
  labels = words.keys()
43
  reduced_data_pca = reduce_dimensions(data, method='PCA')
44
  df = pd.DataFrame({
45
+ "x": reduced_data_pca[:, 0],
46
+ "y": reduced_data_pca[:, 1],
47
  "color": ["b", "b", "b", "r", "g", "g", "g"]
48
  })
49