svjack commited on
Commit
01e250d
1 Parent(s): cbc3354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -442,7 +442,7 @@ texts = book_df["content_chunks_formatted"].dropna().drop_duplicates().values.to
442
  embedding_path = "svjack/bge-small-book-qa"
443
  bge_book_embeddings = HuggingFaceEmbeddings(model_name=embedding_path)
444
  docsearch_bge_loaded = FAISS.load_local("bge_small_book_chunks_prebuld/", bge_book_embeddings,
445
- #allow_dangerous_deserialization = True
446
  )
447
 
448
  from setfit import SetFitModel
 
442
  embedding_path = "svjack/bge-small-book-qa"
443
  bge_book_embeddings = HuggingFaceEmbeddings(model_name=embedding_path)
444
  docsearch_bge_loaded = FAISS.load_local("bge_small_book_chunks_prebuld/", bge_book_embeddings,
445
+ allow_dangerous_deserialization = True
446
  )
447
 
448
  from setfit import SetFitModel