Ritesh-hf commited on
Commit
1f922e4
1 Parent(s): 47dbe74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", model_kwargs={"trust_remote_code":True})
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", model_kwargs={"trust_remote_code": True})
83
  retriever = PineconeHybridSearchRetriever(
84
  embeddings=embed_model,
85
  sparse_encoder=bm25,