Chandranshu Jain commited on
Commit
3bbb573
1 Parent(s): 77ee048

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
45
 
46
  def embedding(chunk):
47
  embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001")
48
- vector = Chroma.from_documents(chunk, embeddings)
49
  db = Chroma.from_documents(vector, embeddings, persist_directory="./chroma_db")
50
 
51
  def get_conversational_chain():
 
45
 
46
  def embedding(chunk):
47
  embeddings = GoogleGenerativeAIEmbeddings(model="models/embedding-001")
48
+ vector = Chroma.from_documents(chunk)
49
  db = Chroma.from_documents(vector, embeddings, persist_directory="./chroma_db")
50
 
51
  def get_conversational_chain():