RefalMachine commited on
Commit
257a390
·
verified ·
1 Parent(s): f2e6053

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ demo = gr.ChatInterface(
70
  additional_inputs=[
71
  gr.Radio(choices=options, label="Model:", value=options[0]),
72
  gr.Textbox(value="You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer.", label="System message"),
73
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
74
  gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
75
  gr.Slider(
76
  minimum=0.1,
 
70
  additional_inputs=[
71
  gr.Radio(choices=options, label="Model:", value=options[0]),
72
  gr.Textbox(value="You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer.", label="System message"),
73
+ gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
74
  gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
75
  gr.Slider(
76
  minimum=0.1,