Update app.py
Browse files
app.py
CHANGED
|
@@ -294,7 +294,7 @@ if search:
|
|
| 294 |
text=f"Loading {bi_encoder_type} bi-encoder and embedding document into vector space. This might take a few seconds depending on the length of your document..."
|
| 295 |
):
|
| 296 |
corpus_embeddings = bi_encode(bi_encoder_type,passages)
|
| 297 |
-
|
| 298 |
bm25 = bm25_api(passages)
|
| 299 |
|
| 300 |
with st.spinner(
|
|
|
|
| 294 |
text=f"Loading {bi_encoder_type} bi-encoder and embedding document into vector space. This might take a few seconds depending on the length of your document..."
|
| 295 |
):
|
| 296 |
corpus_embeddings = bi_encode(bi_encoder_type,passages)
|
| 297 |
+
cross_encoder = cross_encode()
|
| 298 |
bm25 = bm25_api(passages)
|
| 299 |
|
| 300 |
with st.spinner(
|