nightfury commited on
Commit
f4cf793
·
verified ·
1 Parent(s): 2cc4d9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def init_chromadb():
47
  texts = text_splitter.split_documents(documents)
48
 
49
  # Select which embeddings we want to use
50
- #embeddings = OpenAIEmbeddings()
51
 
52
  # Create the vectorestore to use as the index
53
  vectorstore = Chroma.from_documents(texts, embeddings, persist_directory=DB_DIR)
 
47
  texts = text_splitter.split_documents(documents)
48
 
49
  # Select which embeddings we want to use
50
+ embeddings = OpenAIEmbeddings()
51
 
52
  # Create the vectorestore to use as the index
53
  vectorstore = Chroma.from_documents(texts, embeddings, persist_directory=DB_DIR)