nikravan commited on
Commit
4a4974d
·
verified ·
1 Parent(s): a2f9117

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -117,8 +117,8 @@ gr.ChatInterface(
117
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
118
  additional_inputs=[
119
  gr.Textbox("You are a useful assistant. first recognize user request and then reply carfuly and thinking", label="System prompt"),
120
- gr.Slider(0, 1, 0.3, label="Temperature"),
121
- gr.Slider(4000, 4096, 1024, label="Max new tokens"),
122
  gr.Slider(1, 80, 40, label="Top K sampling"),
123
  gr.Slider(0, 2, 1.1, label="Repetition penalty"),
124
  gr.Slider(0, 1, 0.95, label="Top P sampling"),
 
117
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
118
  additional_inputs=[
119
  gr.Textbox("You are a useful assistant. first recognize user request and then reply carfuly and thinking", label="System prompt"),
120
+ gr.Slider(0, 1, 0.6, label="Temperature"),
121
+ gr.Slider(0, 30000, 20000, label="Max new tokens"),
122
  gr.Slider(1, 80, 40, label="Top K sampling"),
123
  gr.Slider(0, 2, 1.1, label="Repetition penalty"),
124
  gr.Slider(0, 1, 0.95, label="Top P sampling"),