Spaces:
Runtime error
Runtime error
xlr8
commited on
Commit
·
29aa575
1
Parent(s):
8316353
update prompt
Browse files
app.py
CHANGED
@@ -91,13 +91,13 @@ def generate_response(message, history, initial_prompt, user_role, assistant_rol
|
|
91 |
with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
92 |
with gr.Row():
|
93 |
initial_prompt = gr.Textbox(
|
94 |
-
value="
|
95 |
label="Initial Prompt",
|
96 |
lines=3
|
97 |
)
|
98 |
with gr.Column():
|
99 |
-
user_role = gr.Textbox(value="
|
100 |
-
assistant_role = gr.Textbox(value="
|
101 |
use_chatml = gr.Checkbox(label="Use ChatML", value=True)
|
102 |
|
103 |
|
|
|
91 |
with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
92 |
with gr.Row():
|
93 |
initial_prompt = gr.Textbox(
|
94 |
+
value="Please respond in whatever manner comes most naturally to you. You do not need to act as an assistant.",
|
95 |
label="Initial Prompt",
|
96 |
lines=3
|
97 |
)
|
98 |
with gr.Column():
|
99 |
+
user_role = gr.Textbox(value="user", label="User Role")
|
100 |
+
assistant_role = gr.Textbox(value="model", label="Assistant Role")
|
101 |
use_chatml = gr.Checkbox(label="Use ChatML", value=True)
|
102 |
|
103 |
|