Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ bm25 = BM25Encoder().load("./saudi-arabia-bm25-encoder.json")
|
|
79 |
|
80 |
|
81 |
# Initialize models and retriever
|
82 |
-
embed_model = HuggingFaceEmbeddings(model_name="jinaai/jina-embeddings-v3"
|
83 |
retriever = PineconeHybridSearchRetriever(
|
84 |
embeddings=embed_model,
|
85 |
sparse_encoder=bm25,
|
|
|
79 |
|
80 |
|
81 |
# Initialize models and retriever
|
82 |
+
embed_model = HuggingFaceEmbeddings(model_name="jinaai/jina-embeddings-v3")
|
83 |
retriever = PineconeHybridSearchRetriever(
|
84 |
embeddings=embed_model,
|
85 |
sparse_encoder=bm25,
|