complynx commited on
Commit
e792b2e
β€’
1 Parent(s): 88cb4f5

Set defaults according to task

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="bge", label="embedding model")
150
- sub_vector_size = gr.Radio(choices=sub_vectors, value="32", 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="nltk", 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")
 
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")