Namitg02 commited on
Commit
7c30575
·
verified ·
1 Parent(s): dd6cf15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ embedding_model = HuggingFaceEmbeddings(model_name = "all-MiniLM-L6-v2")
35
 
36
  # Returns a FAISS wrapper vector store. Input is a list of strings. from_documents method used documents to Return VectorStore
37
 
38
- data = dataset["train"]
39
  data = data.add_faiss_index("embeddings")
40
  # adds a column that has a index of embeddings
41
 
 
35
 
36
  # Returns a FAISS wrapper vector store. Input is a list of strings. from_documents method used documents to Return VectorStore
37
 
38
+ data = dataset["text"]
39
  data = data.add_faiss_index("embeddings")
40
  # adds a column that has a index of embeddings
41