seawolf2357 commited on
Commit
8c6561b
1 Parent(s): 54d9c29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,8 +74,8 @@ demo = gr.ChatInterface(
74
  theme=theme,
75
  additional_inputs=[
76
  gr.Textbox(value="AI Assistant Role", label="System message"),
77
- gr.Slider(minimum=1, maximum=8000, value=512, step=1, label="Max new tokens"),
78
- gr.Slider(minimum=0.1, maximum 1.0, value=0.7, step=0.1, label="Temperature"),
79
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
80
  ],
81
  )
 
74
  theme=theme,
75
  additional_inputs=[
76
  gr.Textbox(value="AI Assistant Role", label="System message"),
77
+ gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
78
+ gr.Slider(minimum=0.1, maximum 4.0, value=0.7, step=0.1, label="Temperature"),
79
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
80
  ],
81
  )