Spaces:
Runtime error
Runtime error
Set defaults according to task
Browse files
app.py
CHANGED
@@ -146,10 +146,10 @@ with gr.Blocks() as demo:
|
|
146 |
|
147 |
|
148 |
with gr.Row():
|
149 |
-
emb_model_kind = gr.Radio(choices=emb_models, value="
|
150 |
-
sub_vector_size = gr.Radio(choices=sub_vectors, value="
|
151 |
chunk_size = gr.Radio(choices=chunk_sizes, value="2000", label="chunk size")
|
152 |
-
splitter_type = gr.Radio(choices=splitters, value="
|
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")
|
|
|
146 |
|
147 |
|
148 |
with gr.Row():
|
149 |
+
emb_model_kind = gr.Radio(choices=emb_models, value="minilm", label="embedding model")
|
150 |
+
sub_vector_size = gr.Radio(choices=sub_vectors, value="16", label="sub-vector size")
|
151 |
chunk_size = gr.Radio(choices=chunk_sizes, value="2000", label="chunk size")
|
152 |
+
splitter_type = gr.Radio(choices=splitters, value="ct", label="splitter")
|
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")
|