Spaces:
Runtime error
Runtime error
Commit
•
1235fae
1
Parent(s):
8ad4ad0
Update pages/index.py
Browse files- pages/index.py +2 -1
pages/index.py
CHANGED
@@ -7,11 +7,12 @@ from langchain.vectorstores import FAISS
|
|
7 |
|
8 |
from langchain.document_loaders import WebBaseLoader
|
9 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
|
|
10 |
|
11 |
print("Loading Index Page!!")
|
12 |
|
13 |
#if 'vectorstore' in st.session_state.keys():
|
14 |
-
vectorstore = st.session_state['vectorstore']
|
15 |
# else:
|
16 |
# retriever = initialize_vectorstore()
|
17 |
# vectorstore = st.session_state['vectorstore']
|
|
|
7 |
|
8 |
from langchain.document_loaders import WebBaseLoader
|
9 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
10 |
+
from src import vectorstore
|
11 |
|
12 |
print("Loading Index Page!!")
|
13 |
|
14 |
#if 'vectorstore' in st.session_state.keys():
|
15 |
+
# vectorstore = st.session_state['vectorstore']
|
16 |
# else:
|
17 |
# retriever = initialize_vectorstore()
|
18 |
# vectorstore = st.session_state['vectorstore']
|