Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ demo = gr.ChatInterface(
|
|
70 |
additional_inputs=[
|
71 |
gr.Radio(choices=options, label="Model:", value=options[0]),
|
72 |
gr.Textbox(value="You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer.", label="System message"),
|
73 |
-
gr.Slider(minimum=1, maximum=
|
74 |
gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
|
75 |
gr.Slider(
|
76 |
minimum=0.1,
|
|
|
70 |
additional_inputs=[
|
71 |
gr.Radio(choices=options, label="Model:", value=options[0]),
|
72 |
gr.Textbox(value="You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer.", label="System message"),
|
73 |
+
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
|
74 |
gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
|
75 |
gr.Slider(
|
76 |
minimum=0.1,
|