Spaces:
Sleeping
Sleeping
fix error
Browse files
app.py
CHANGED
@@ -65,9 +65,9 @@ demo = gr.ChatInterface(
|
|
65 |
response,
|
66 |
additional_inputs = [
|
67 |
gr.Textbox(value="You are a friendly assistant", label="System Message"),
|
68 |
-
gr.Slider(minimum=1,
|
69 |
-
gr.Slider(minimum=0.1,
|
70 |
-
gr.Slider(minimum=0.1,
|
71 |
]
|
72 |
)
|
73 |
|
|
|
65 |
response,
|
66 |
additional_inputs = [
|
67 |
gr.Textbox(value="You are a friendly assistant", label="System Message"),
|
68 |
+
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
69 |
+
gr.Slider(minimum=0.1, maximum=4, value=0.7, step=0.1, label="Temperature"),
|
70 |
+
gr.Slider(minimum=0.1, maximum=1, value=0.9, step=0.05, label="Top_p"),
|
71 |
]
|
72 |
)
|
73 |
|