felipekitamura commited on
Commit
d267fce
·
verified ·
1 Parent(s): b97de61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -44,14 +44,14 @@ def inference(word1, word2, word3):
44
  labels = words.keys()
45
  reduced_data_pca = reduce_dimensions(data, method='PCA')
46
  print(reduced_data_pca.shape)
47
- '''
48
  df = pd.DataFrame({
49
  "x": reduced_data_pca[:, 0],
50
  "y": reduced_data_pca[:, 1],
51
  "color": ["b", "b", "b", "r", "g", "g", "g"][:len(data)]
52
  })
53
- '''
54
- return None #df
55
 
56
  examples = [
57
  ["woman", "man", "aunt"],
 
44
  labels = words.keys()
45
  reduced_data_pca = reduce_dimensions(data, method='PCA')
46
  print(reduced_data_pca.shape)
47
+ #'''
48
  df = pd.DataFrame({
49
  "x": reduced_data_pca[:, 0],
50
  "y": reduced_data_pca[:, 1],
51
  "color": ["b", "b", "b", "r", "g", "g", "g"][:len(data)]
52
  })
53
+ #'''
54
+ return df
55
 
56
  examples = [
57
  ["woman", "man", "aunt"],