Yoxas commited on
Commit
d7bf8ce
·
verified ·
1 Parent(s): 23517f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ if len(embeddings_array.shape) == 1:
29
 
30
  # Create a new Dataset with the modified data
31
  new_data = data.remove_columns("Abstract_Embeddings")
32
- new_data = new_data.add_column("Abstract_Embeddings", embeddings_array)
33
 
34
  new_data = new_data.add_faiss_index("Abstract_Embeddings")
35
 
 
29
 
30
  # Create a new Dataset with the modified data
31
  new_data = data.remove_columns("Abstract_Embeddings")
32
+ new_data = new_data.add_column("Abstract_Embeddings", embeddings_array.tolist())
33
 
34
  new_data = new_data.add_faiss_index("Abstract_Embeddings")
35