Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,9 @@ from langchain.text_splitter import TokenTextSplitter, RecursiveCharacterTextSpl
|
|
17 |
from langchain_community.document_loaders.directory import DirectoryLoader
|
18 |
|
19 |
|
|
|
|
|
|
|
20 |
def get_vectorstore(text_chunks):
|
21 |
model_name = "sentence-transformers/all-mpnet-base-v2"
|
22 |
model_kwargs = {'device': 'cpu'}
|
|
|
17 |
from langchain_community.document_loaders.directory import DirectoryLoader
|
18 |
|
19 |
|
20 |
+
|
21 |
+
st.set_page_config(page_title="Conversational RAG Chatbot", page_icon=":robot:")
|
22 |
+
|
23 |
def get_vectorstore(text_chunks):
|
24 |
model_name = "sentence-transformers/all-mpnet-base-v2"
|
25 |
model_kwargs = {'device': 'cpu'}
|