Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,8 +69,8 @@ def get_vectorstore(text_chunks):
|
|
| 69 |
# text_chunks="this is a test"
|
| 70 |
# FAISS, Chroma and other vector databases
|
| 71 |
#
|
| 72 |
-
|
| 73 |
-
|
| 74 |
|
| 75 |
return vectorstore
|
| 76 |
|
|
|
|
| 69 |
# text_chunks="this is a test"
|
| 70 |
# FAISS, Chroma and other vector databases
|
| 71 |
#
|
| 72 |
+
vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
|
| 73 |
+
st.write('FAISS succeeds: ')
|
| 74 |
|
| 75 |
return vectorstore
|
| 76 |
|