Update app.py
Browse files
app.py
CHANGED
@@ -274,11 +274,11 @@ def demo():
|
|
274 |
label="LLM models", value = list_llm_simple[0], type="index", info="Choose your LLM model")
|
275 |
with gr.Accordion("Advanced options - LLM model", open=False):
|
276 |
with gr.Row():
|
277 |
-
slider_temperature = gr.Slider(
|
278 |
with gr.Row():
|
279 |
-
slider_maxtokens = gr.Slider(
|
280 |
with gr.Row():
|
281 |
-
slider_topk = gr.Slider(
|
282 |
with gr.Row():
|
283 |
llm_progress = gr.Textbox(value="None",label="QA chain initialization")
|
284 |
with gr.Row():
|
|
|
274 |
label="LLM models", value = list_llm_simple[0], type="index", info="Choose your LLM model")
|
275 |
with gr.Accordion("Advanced options - LLM model", open=False):
|
276 |
with gr.Row():
|
277 |
+
slider_temperature = gr.Slider(value = 0.1,visible=False)
|
278 |
with gr.Row():
|
279 |
+
slider_maxtokens = gr.Slider(value = 4096, visible=False)
|
280 |
with gr.Row():
|
281 |
+
slider_topk = gr.Slider(value = 3, visible=False)
|
282 |
with gr.Row():
|
283 |
llm_progress = gr.Textbox(value="None",label="QA chain initialization")
|
284 |
with gr.Row():
|