vishwask commited on
Commit
d51037f
·
verified ·
1 Parent(s): 2b40ee8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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(minimum = 0.0, maximum = 1.0, value=0.7, step=0.1, label="Temperature", info="Model temperature", interactive=True)
278
  with gr.Row():
279
- slider_maxtokens = gr.Slider(minimum = 224, maximum = 4096, value=1024, step=32, label="Max Tokens", info="Model max tokens", interactive=True)
280
  with gr.Row():
281
- slider_topk = gr.Slider(minimum = 1, maximum = 10, value=3, step=1, label="top-k samples", info="Model top-k samples", interactive=True)
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():