Spencer525 commited on
Commit
03a6880
·
verified ·
1 Parent(s): 49e5980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def get_conversation_chain():
61
 
62
  def user_input(user_question):
63
  # user_question is the input question
64
- embeddings = GoogleGenerativeAIEmbeddings(model = "models/embedding-001")
65
  # load the local faiss db
66
  new_db = FAISS.load_local("faiss_index", embeddings)
67
 
 
61
 
62
  def user_input(user_question):
63
  # user_question is the input question
64
+ embeddings = GoogleGenerativeAIEmbeddings(model = "gemini-pro")
65
  # load the local faiss db
66
  new_db = FAISS.load_local("faiss_index", embeddings)
67