m7n commited on
Commit
6781558
·
verified ·
1 Parent(s): 58962c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- 2d_embeddings = mapper.transform(embeddings)
184
- records_df[['x','y']] = 2d_embeddings
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'