alexkueck commited on
Commit
03cb932
1 Parent(s): 372c172

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def document_retrieval_chroma(llm, prompt):
103
  #embeddings = HuggingFaceInstructEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2", model_kwargs={"device": "cpu"})
104
  db = Chroma(embedding_function = embeddings,
105
  #persist_directory = CHROMA_DIR)
106
- persist_directory = path_work + '/chroma',
107
 
108
  return db
109
 
 
103
  #embeddings = HuggingFaceInstructEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2", model_kwargs={"device": "cpu"})
104
  db = Chroma(embedding_function = embeddings,
105
  #persist_directory = CHROMA_DIR)
106
+ persist_directory = path_work + '/chroma')
107
 
108
  return db
109