Di Zhang
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks() as demo:
|
|
73 |
)
|
74 |
|
75 |
with gr.Accordion("Adjust Parameters", open=False):
|
76 |
-
gr.Slider(minimum=
|
77 |
gr.Slider(minimum=0.1, maximum=1.5, value=0.7, step=0.1, label="Temperature")
|
78 |
gr.Slider(minimum=0.05, maximum=1.0, value=0.95, step=0.01, label="Top-p (nucleus sampling)")
|
79 |
|
|
|
73 |
)
|
74 |
|
75 |
with gr.Accordion("Adjust Parameters", open=False):
|
76 |
+
gr.Slider(minimum=128, maximum=8192, value=512, step=1, label="Max Tokens")
|
77 |
gr.Slider(minimum=0.1, maximum=1.5, value=0.7, step=0.1, label="Temperature")
|
78 |
gr.Slider(minimum=0.05, maximum=1.0, value=0.95, step=0.01, label="Top-p (nucleus sampling)")
|
79 |
|