Spaces:
Runtime error
Runtime error
artificialguybr
commited on
Commit
•
17f0ed4
1
Parent(s):
7a31463
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks() as demo:
|
|
113 |
with gr.Accordion("Show Model Parameters", open=False):
|
114 |
with gr.Row():
|
115 |
with gr.Column():
|
116 |
-
max_tokens = gr.Slider(20,
|
117 |
temperature = gr.Slider(0.0, 2.0, label="Temperature", step=0.1, value=0.7)
|
118 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95)
|
119 |
top_k = gr.Slider(1, 100, label="Top K", step=1, value=40)
|
|
|
113 |
with gr.Accordion("Show Model Parameters", open=False):
|
114 |
with gr.Row():
|
115 |
with gr.Column():
|
116 |
+
max_tokens = gr.Slider(20, 512, label="Max Tokens", step=20, value=500)
|
117 |
temperature = gr.Slider(0.0, 2.0, label="Temperature", step=0.1, value=0.7)
|
118 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95)
|
119 |
top_k = gr.Slider(1, 100, label="Top K", step=1, value=40)
|