vislupus commited on
Commit
1d1c48c
1 Parent(s): ab572f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def rag_retriever(message, history, system_prompt, num_sources=4, temperature=0)
14
 
15
  base_dir = os.path.dirname(os.path.abspath(__file__))
16
  db_path = os.path.join(base_dir, 'chroma.sqlite3')
17
- store = Chroma(persist_directory=db_path, embedding_function=embeddings, collection_name='ai_act')
18
 
19
  prompt_template = ChatPromptTemplate.from_messages([
20
  ("system", system_prompt+"""
 
14
 
15
  base_dir = os.path.dirname(os.path.abspath(__file__))
16
  db_path = os.path.join(base_dir, 'chroma.sqlite3')
17
+ store = Chroma(persist_directory='/home/user/app', embedding_function=embeddings, collection_name='ai_act')
18
 
19
  prompt_template = ChatPromptTemplate.from_messages([
20
  ("system", system_prompt+"""