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