Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,9 +53,9 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 53 |
demo = gr.ChatInterface(
|
| 54 |
respond,
|
| 55 |
additional_inputs=[
|
| 56 |
-
gr.Textbox(value="You are
|
| 57 |
-
gr.Slider(minimum=1, maximum=2048, value=
|
| 58 |
-
gr.Slider(minimum=0.1, maximum=
|
| 59 |
],
|
| 60 |
)
|
| 61 |
|
|
|
|
| 53 |
demo = gr.ChatInterface(
|
| 54 |
respond,
|
| 55 |
additional_inputs=[
|
| 56 |
+
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"),
|
| 57 |
+
gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
|
| 58 |
+
gr.Slider(minimum=0.1, maximum=1, value=0.7, step=0.1, label="Temperature"),
|
| 59 |
],
|
| 60 |
)
|
| 61 |
|