Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ 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 |
df = pd.DataFrame({
|
47 |
"x": reduced_data_pca[:, 0],
|
48 |
"y": reduced_data_pca[:, 1],
|
|
|
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],
|