dinhquangson commited on
Commit
764991c
1 Parent(s): c1adcd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ def search(prompt: str):
191
  generation_kwargs = {"max_tokens": 512}
192
  )
193
  querying = Pipeline()
194
- querying.add_component("sparse_text_embedder", FastembedSparseTextEmbedder(model="Qdrant/bm42-all-minilm-l6-v2-attentions '"))
195
  querying.add_component("dense_text_embedder", FastembedTextEmbedder(
196
  model="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", prefix="Represent this sentence for searching relevant passages: ")
197
  )
 
191
  generation_kwargs = {"max_tokens": 512}
192
  )
193
  querying = Pipeline()
194
+ querying.add_component("sparse_text_embedder", FastembedSparseTextEmbedder(model="Qdrant/bm42-all-minilm-l6-v2-attentions'"))
195
  querying.add_component("dense_text_embedder", FastembedTextEmbedder(
196
  model="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", prefix="Represent this sentence for searching relevant passages: ")
197
  )