Spaces:
Running
on
Zero
Running
on
Zero
jenbenarye
commited on
Commit
·
faecac3
1
Parent(s):
14b2ad0
add instructions to users
Browse files- app/app.py +6 -1
app/app.py
CHANGED
@@ -928,7 +928,12 @@ with gr.Blocks(css=css, js=js) as demo:
|
|
928 |
with gr.Group(visible=False) as add_language_modal:
|
929 |
gr.Markdown("### Add New Language")
|
930 |
new_lang_name = gr.Textbox(label="Language Name", lines=1)
|
931 |
-
new_system_prompt = gr.Textbox(
|
|
|
|
|
|
|
|
|
|
|
932 |
with gr.Row():
|
933 |
save_language_btn = gr.Button("Save")
|
934 |
cancel_language_btn = gr.Button("Cancel")
|
|
|
928 |
with gr.Group(visible=False) as add_language_modal:
|
929 |
gr.Markdown("### Add New Language")
|
930 |
new_lang_name = gr.Textbox(label="Language Name", lines=1)
|
931 |
+
new_system_prompt = gr.Textbox(
|
932 |
+
label="System Prompt",
|
933 |
+
lines=4,
|
934 |
+
placeholder="Write in your own language: \"You are a helpful assistant. Always respond to requests in fluent and natural [your language], regardless of the language used by the user.\"",
|
935 |
+
info="The system prompt tells the AI how to behave. Make sure to write it in the language you're adding so the AI knows how to respond naturally."
|
936 |
+
)
|
937 |
with gr.Row():
|
938 |
save_language_btn = gr.Button("Save")
|
939 |
cancel_language_btn = gr.Button("Cancel")
|