MSEAJYTHTH commited on
Commit
cad4f13
·
verified ·
1 Parent(s): cb3d9b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ db = FAISS.load_local("faiss_index", embeddings, allow_dangerous_deserialization
35
 
36
  def find_best_page_content(question, keywords, db):
37
 
38
- db = db
39
  results = db.similarity_search(question, k=50, fetch_k=50)
40
  keywords = ', '.join(keywords) #
41
 
 
35
 
36
  def find_best_page_content(question, keywords, db):
37
 
38
+ db = FAISS.load_local("faiss_index", embeddings, allow_dangerous_deserialization=True)
39
  results = db.similarity_search(question, k=50, fetch_k=50)
40
  keywords = ', '.join(keywords) #
41