Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -223,7 +223,7 @@ def main():
|
|
223 |
top_p_input = gr.Slider(minimum=0, maximum=1, step=0.01, label="Top P", value=1)
|
224 |
|
225 |
with gr.Row():
|
226 |
-
num_contexts = gr.Slider(minimum=
|
227 |
|
228 |
# Link settings to the predict function
|
229 |
submit_btn.click(
|
|
|
223 |
top_p_input = gr.Slider(minimum=0, maximum=1, step=0.01, label="Top P", value=1)
|
224 |
|
225 |
with gr.Row():
|
226 |
+
num_contexts = gr.Slider(minimum=1, maximum=5, step=1, label="Top k retrieved contexts", value=3)
|
227 |
|
228 |
# Link settings to the predict function
|
229 |
submit_btn.click(
|