kz919 commited on
Commit
c72fd59
·
verified ·
1 Parent(s): 3f81f1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ demo = gr.ChatInterface(
61
  respond,
62
  additional_inputs=[
63
  gr.Textbox(value="You are a helpful and harmless assistant. You are Qwen developed by Alibaba. You should think step-by-step.", label="System message"),
64
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
65
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
66
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
67
  ]
 
61
  respond,
62
  additional_inputs=[
63
  gr.Textbox(value="You are a helpful and harmless assistant. You are Qwen developed by Alibaba. You should think step-by-step.", label="System message"),
64
+ gr.Slider(minimum=1, maximum=16384, value=512, step=1, label="Max new tokens"),
65
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
66
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
67
  ]