Update tabbed.py
Browse files
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,
|
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)
|