Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ os.environ["LANGCHAIN_PROJECT"] = "Chat with multiple PDFs"
|
|
32 |
|
33 |
|
34 |
def create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='mmr', k=7, chunk_size=250, chunk_overlap=20):
|
35 |
-
data_path = "data
|
36 |
model_name = "Alibaba-NLP/gte-base-en-v1.5"
|
37 |
model_kwargs = {'device': 'cpu',
|
38 |
"trust_remote_code" : 'True'}
|
|
|
32 |
|
33 |
|
34 |
def create_retriever_from_chroma(vectorstore_path="docs/chroma/", search_type='mmr', k=7, chunk_size=250, chunk_overlap=20):
|
35 |
+
data_path = "data"
|
36 |
model_name = "Alibaba-NLP/gte-base-en-v1.5"
|
37 |
model_kwargs = {'device': 'cpu',
|
38 |
"trust_remote_code" : 'True'}
|