Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ demo = gr.ChatInterface(
|
|
| 58 |
additional_inputs=[
|
| 59 |
gr.Textbox(value="You are P-MSQ (Messaging Service Query), a friendly AI Chatbot that can help in any situations. Answer in user's language as concisely as possible.", label="System message"),
|
| 60 |
gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
|
| 61 |
-
gr.Slider(minimum=0, maximum=2, value=0.8, step=0.
|
| 62 |
gr.Slider(minimum=0.1, maximum=1, value=0.7, step=0.1, label="Temperature"),
|
| 63 |
],
|
| 64 |
)
|
|
|
|
| 58 |
additional_inputs=[
|
| 59 |
gr.Textbox(value="You are P-MSQ (Messaging Service Query), a friendly AI Chatbot that can help in any situations. Answer in user's language as concisely as possible.", label="System message"),
|
| 60 |
gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
|
| 61 |
+
gr.Slider(minimum=0, maximum=2, value=0.8, step=0.1, label="Top P"),
|
| 62 |
gr.Slider(minimum=0.1, maximum=1, value=0.7, step=0.1, label="Temperature"),
|
| 63 |
],
|
| 64 |
)
|