Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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
|