felipekitamura commited on
Commit
dc72e07
·
verified ·
1 Parent(s): a7e2cd3

Update app.py

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