Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks() as demo:
|
|
94 |
|
95 |
with gr.Row():
|
96 |
system_message = gr.Textbox(value="", label="System message")
|
97 |
-
max_tokens = gr.Slider(minimum=1, maximum=
|
98 |
temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature")
|
99 |
top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
|
100 |
|
|
|
94 |
|
95 |
with gr.Row():
|
96 |
system_message = gr.Textbox(value="", label="System message")
|
97 |
+
max_tokens = gr.Slider(minimum=1, maximum=4096, value=1024, step=1, label="Max new tokens")
|
98 |
temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature")
|
99 |
top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)")
|
100 |
|