nightfury commited on
Commit
9e54142
·
verified ·
1 Parent(s): de136b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def query_chromadb():
76
  raise Exception(f"{DB_DIR} does not exist, nothing can be queried")
77
 
78
  # Select which embeddings we want to use
79
- embeddings = OpenAIEmbeddings()
80
  # Load Vector store from local disk
81
  vectorstore = Chroma(persist_directory=DB_DIR, embedding_function=embeddings)
82
  db2.persist()
 
76
  raise Exception(f"{DB_DIR} does not exist, nothing can be queried")
77
 
78
  # Select which embeddings we want to use
79
+ #embeddings = OpenAIEmbeddings()
80
  # Load Vector store from local disk
81
  vectorstore = Chroma(persist_directory=DB_DIR, embedding_function=embeddings)
82
  db2.persist()