Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ demo = gr.ChatInterface(
|
|
68 |
respond,
|
69 |
additional_inputs=[
|
70 |
gr.Textbox(value="You are an assistant in Swiss Jurisprudence cases.", label="System message"),
|
71 |
-
gr.Slider(minimum=1, maximum=
|
72 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
73 |
gr.Slider(
|
74 |
minimum=0.1,
|
|
|
68 |
respond,
|
69 |
additional_inputs=[
|
70 |
gr.Textbox(value="You are an assistant in Swiss Jurisprudence cases.", label="System message"),
|
71 |
+
gr.Slider(minimum=1, maximum=24000, value=2048, step=1, label="Max new tokens"),
|
72 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
73 |
gr.Slider(
|
74 |
minimum=0.1,
|