Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -180,8 +180,8 @@ def predict(text_input, progress=gr.Progress()):
|
|
180 |
|
181 |
embeddings = create_embeddings(texts_to_embedd)
|
182 |
print(embeddings)
|
183 |
-
|
184 |
-
records_df[['x','y']] =
|
185 |
|
186 |
basedata_df['color'] = '#ced4d211'
|
187 |
records_df['color'] = '#a81a26'
|
|
|
180 |
|
181 |
embeddings = create_embeddings(texts_to_embedd)
|
182 |
print(embeddings)
|
183 |
+
umap_embeddings = mapper.transform(embeddings)
|
184 |
+
records_df[['x','y']] = umap_embeddings
|
185 |
|
186 |
basedata_df['color'] = '#ced4d211'
|
187 |
records_df['color'] = '#a81a26'
|