winglian commited on
Commit
9d23e1f
1 Parent(s): be6b069

Update tabbed.py

Browse files
Files changed (1) hide show
  1. tabbed.py +1 -1
tabbed.py CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks() as demo:
113
  stop = gr.Button(value="Stop", variant="secondary").style(full_width=False)
114
  with gr.Row():
115
  with gr.Column():
116
- max_tokens = gr.Slider(20, 1000, label="Max Tokens", step=20, value=300)
117
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=0.8)
118
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95)
119
  top_k = gr.Slider(0, 100, label="Top K", step=1, value=40)
 
113
  stop = gr.Button(value="Stop", variant="secondary").style(full_width=False)
114
  with gr.Row():
115
  with gr.Column():
116
+ max_tokens = gr.Slider(20, 500, label="Max Tokens", step=20, value=300)
117
  temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=0.8)
118
  top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95)
119
  top_k = gr.Slider(0, 100, label="Top K", step=1, value=40)