Tonic commited on
Commit
20c9b6d
·
1 Parent(s): deb7ef9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ with gr.Blocks(theme = "ParityError/Anime") as demo:
91
 
92
  with gr.Accordion("Advanced Settings", open=lambda do_sample: do_sample):
93
  with gr.Row():
94
- max_new_tokens = gr.Slider(label="Max new tokens", value=150, minimum=50, maximum=650, step=1)
95
  temperature = gr.Slider(label="Temperature", value=0.3, minimum=0.1, maximum=1.0, step=0.1)
96
  top_p = gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.01, maximum=0.99, step=0.05)
97
  repetition_penalty = gr.Slider(label="Repetition penalty", value=0.9, minimum=0.05, maximum=1.0, step=0.05)
 
91
 
92
  with gr.Accordion("Advanced Settings", open=lambda do_sample: do_sample):
93
  with gr.Row():
94
+ max_new_tokens = gr.Slider(label="Max new tokens", value=250, minimum=20, maximum=450, step=1)
95
  temperature = gr.Slider(label="Temperature", value=0.3, minimum=0.1, maximum=1.0, step=0.1)
96
  top_p = gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.01, maximum=0.99, step=0.05)
97
  repetition_penalty = gr.Slider(label="Repetition penalty", value=0.9, minimum=0.05, maximum=1.0, step=0.05)