complynx commited on
Commit
88cb4f5
Β·
1 Parent(s): b342136

change default reranker

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ with gr.Blocks() as demo:
153
  all_at_once = gr.Checkbox(value=False, label="Run all at once (no reranker)")
154
  with gr.Row():
155
  reranker_enabled = gr.Checkbox(value=False, label="Reranker enabled")
156
- reranker_kind = gr.Radio(choices=emb_models, value="bge", label="Reranker model")
157
  num_prerank_docs = gr.Slider(5, 80, label="Number of docs before reranker", step=1, value=20)
158
  with gr.Row():
159
  num_docs = gr.Slider(1, 20, label="number of docs", step=1, value=4)
 
153
  all_at_once = gr.Checkbox(value=False, label="Run all at once (no reranker)")
154
  with gr.Row():
155
  reranker_enabled = gr.Checkbox(value=False, label="Reranker enabled")
156
+ reranker_kind = gr.Radio(choices=emb_models, value="minilm", label="Reranker model")
157
  num_prerank_docs = gr.Slider(5, 80, label="Number of docs before reranker", step=1, value=20)
158
  with gr.Row():
159
  num_docs = gr.Slider(1, 20, label="number of docs", step=1, value=4)