Spaces:
Sleeping
Sleeping
felipekitamura
commited on
Update app.py
Browse files
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": ["b", "b", "b", "r", "g", "g", "g"]
|
52 |
})
|
53 |
'''
|
54 |
return None #df
|
|
|
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
|