Spaces:
Sleeping
Sleeping
Update system message to encourage multilingual responses
Browse files
app.py
CHANGED
|
@@ -62,7 +62,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 62 |
demo = gr.ChatInterface(
|
| 63 |
respond,
|
| 64 |
additional_inputs=[
|
| 65 |
-
gr.Textbox(
|
|
|
|
|
|
|
|
|
|
| 66 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 67 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 68 |
gr.Slider(
|
|
|
|
| 62 |
demo = gr.ChatInterface(
|
| 63 |
respond,
|
| 64 |
additional_inputs=[
|
| 65 |
+
gr.Textbox(
|
| 66 |
+
value="You are a friendly Chatbot. Always reply in the language in which the user is writing to you.",
|
| 67 |
+
label="System message"
|
| 68 |
+
),
|
| 69 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 70 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 71 |
gr.Slider(
|