Update app.py
Browse fileschanged max allowable documents to 5
app.py
CHANGED
|
@@ -53,7 +53,7 @@ with gr.Blocks(title="DeepV for RTL (Model-Agnostic)", theme=gr.themes.Soft()) a
|
|
| 53 |
)
|
| 54 |
with gr.Row():
|
| 55 |
use_rag = gr.Checkbox(value=True, label="Use Retrieval (RAG)")
|
| 56 |
-
top_k = gr.Slider(1,
|
| 57 |
|
| 58 |
# --- New UI with three text boxes for generation settings ---
|
| 59 |
with gr.Row():
|
|
|
|
| 53 |
)
|
| 54 |
with gr.Row():
|
| 55 |
use_rag = gr.Checkbox(value=True, label="Use Retrieval (RAG)")
|
| 56 |
+
top_k = gr.Slider(1, 5, value=3, step=1, label="Top-K retrieved examples")
|
| 57 |
|
| 58 |
# --- New UI with three text boxes for generation settings ---
|
| 59 |
with gr.Row():
|