nikravan commited on
Commit
90c63d3
·
verified ·
1 Parent(s): 6814d81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -116,9 +116,9 @@ gr.ChatInterface(
116
 
117
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
118
  additional_inputs=[
119
- gr.Textbox("You are a useful assistant. first recognize user language and then reply based on his language", label="System prompt"),
120
  gr.Slider(0, 1, 0.3, label="Temperature"),
121
- gr.Slider(128, 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"),
 
116
 
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"),