Spaces:
Runtime error
Runtime error
change default reranker
Browse files
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="
|
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)
|