felipekitamura commited on
Commit
582fe73
·
verified ·
1 Parent(s): 810b96d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def inference(word1, word2, word3):
48
  df = pd.DataFrame({
49
  "x": reduced_data_pca[:, 0],
50
  "y": reduced_data_pca[:, 1],
51
- "color": labels[:len(data)]
52
  #"label": ["W1", "W2", "W3", "W4", "W5", "W6", "W7"][:len(data)]
53
  })
54
  #'''
 
48
  df = pd.DataFrame({
49
  "x": reduced_data_pca[:, 0],
50
  "y": reduced_data_pca[:, 1],
51
+ "color": [x for x in labels][:len(data)]
52
  #"label": ["W1", "W2", "W3", "W4", "W5", "W6", "W7"][:len(data)]
53
  })
54
  #'''