Tonic commited on
Commit
8aaf099
·
1 Parent(s): 80af65b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,8 +88,8 @@ with gr.Blocks(theme="ParityError/Anime") as demo:
88
 
89
  with gr.Accordion("Advanced Settings", open=lambda do_sample: do_sample):
90
  with gr.Row():
91
- temperature = gr.Slider(label="Temperature", value=0.7, minimum=0.05, maximum=1.0, step=0.05)
92
- max_new_tokens = gr.Slider(label="Max new tokens", value=100, minimum=25, maximum=256, step=1)
93
  top_p = gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.01, maximum=0.99, step=0.05)
94
  repetition_penalty = gr.Slider(label="Repetition penalty", value=1.9, minimum=1.0, maximum=2.0, step=0.05)
95
 
 
88
 
89
  with gr.Accordion("Advanced Settings", open=lambda do_sample: do_sample):
90
  with gr.Row():
91
+ temperature = gr.Slider(label="Temperature", value=0.4, minimum=0.05, maximum=1.0, step=0.05)
92
+ max_new_tokens = gr.Slider(label="Max new tokens", value=100, minimum=25, maximum=1256, step=1)
93
  top_p = gr.Slider(label="Top-p (nucleus sampling)", value=0.90, minimum=0.01, maximum=0.99, step=0.05)
94
  repetition_penalty = gr.Slider(label="Repetition penalty", value=1.9, minimum=1.0, maximum=2.0, step=0.05)
95