Liu Hong Yuan Tom commited on
Commit
ea8378f
1 Parent(s): b608af6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -172,13 +172,13 @@ temperature_component = gr.Slider(
172
  ))
173
  max_output_tokens_component = gr.Slider(
174
  minimum=1,
175
- maximum=2048,
176
- value=1024,
177
  step=1,
178
  label="Token limit",
179
  info=(
180
  "Token limit determines the maximum amount of text output from one prompt. A "
181
- "token is approximately four characters. The default value is 2048."
182
  ))
183
  stop_sequences_component = gr.Textbox(
184
  label="Add stop sequence",
 
172
  ))
173
  max_output_tokens_component = gr.Slider(
174
  minimum=1,
175
+ maximum=8192,
176
+ value=4096,
177
  step=1,
178
  label="Token limit",
179
  info=(
180
  "Token limit determines the maximum amount of text output from one prompt. A "
181
+ "token is approximately four characters. The default value is 4096."
182
  ))
183
  stop_sequences_component = gr.Textbox(
184
  label="Add stop sequence",