svjack commited on
Commit
0fd1bfe
1 Parent(s): f5a5dc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -430,7 +430,7 @@ texts = book_df["content_chunks_formatted"].dropna().drop_duplicates().values.to
430
  embedding_path = "svjack/bge-small-book-qa"
431
  bge_book_embeddings = HuggingFaceEmbeddings(model_name=embedding_path)
432
  docsearch_bge_loaded = FAISS.load_local("bge_small_book_chunks_prebuld/", bge_book_embeddings,
433
- #allow_dangerous_deserialization = True
434
  )
435
 
436
  from setfit import SetFitModel
 
430
  embedding_path = "svjack/bge-small-book-qa"
431
  bge_book_embeddings = HuggingFaceEmbeddings(model_name=embedding_path)
432
  docsearch_bge_loaded = FAISS.load_local("bge_small_book_chunks_prebuld/", bge_book_embeddings,
433
+ allow_dangerous_deserialization = True
434
  )
435
 
436
  from setfit import SetFitModel