clementsan commited on
Commit
75ea3bb
1 Parent(s): eb27368

Update maxtoken slider values

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ def demo():
211
  label="LLM", value = list_llm_simple[0], type="index", info="Choose your LLM model")
212
  with gr.Accordion("Advanced options - LLM", open=False):
213
  slider_temperature = gr.Slider(minimum = 0.0, maximum = 1.0, value=0.7, step=0.1, label="Temperature", info="Model temperature", interactive=True)
214
- slider_maxtokens = gr.Slider(minimum = 256, maximum = 4096, value=1024, step=24, label="Max Tokens", info="Model max tokens", interactive=True)
215
  slider_topk = gr.Slider(minimum = 1, maximum = 10, value=3, step=1, label="top-k samples", info="Model top-k samples", interactive=True)
216
  with gr.Row():
217
  llm_progress = gr.Textbox(value="None",label="QA chain Initialization")
 
211
  label="LLM", value = list_llm_simple[0], type="index", info="Choose your LLM model")
212
  with gr.Accordion("Advanced options - LLM", open=False):
213
  slider_temperature = gr.Slider(minimum = 0.0, maximum = 1.0, value=0.7, step=0.1, label="Temperature", info="Model temperature", interactive=True)
214
+ slider_maxtokens = gr.Slider(minimum = 224, maximum = 4096, value=1024, step=32, label="Max Tokens", info="Model max tokens", interactive=True)
215
  slider_topk = gr.Slider(minimum = 1, maximum = 10, value=3, step=1, label="top-k samples", info="Model top-k samples", interactive=True)
216
  with gr.Row():
217
  llm_progress = gr.Textbox(value="None",label="QA chain Initialization")