Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks() as demo:
|
|
110 |
message = gr.Textbox(
|
111 |
label="What do you want to chat about?",
|
112 |
placeholder="Ask me anything.",
|
113 |
-
lines=
|
114 |
)
|
115 |
with gr.Row():
|
116 |
submit = gr.Button(value="Send message", variant="secondary").style(full_width=True)
|
@@ -125,7 +125,7 @@ with gr.Blocks() as demo:
|
|
125 |
repeat_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
126 |
|
127 |
system_msg = gr.Textbox(
|
128 |
-
start_message, label="System Message", interactive=
|
129 |
|
130 |
chat_history_state = gr.State()
|
131 |
clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message], queue=False)
|
|
|
110 |
message = gr.Textbox(
|
111 |
label="What do you want to chat about?",
|
112 |
placeholder="Ask me anything.",
|
113 |
+
lines=3,
|
114 |
)
|
115 |
with gr.Row():
|
116 |
submit = gr.Button(value="Send message", variant="secondary").style(full_width=True)
|
|
|
125 |
repeat_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
126 |
|
127 |
system_msg = gr.Textbox(
|
128 |
+
start_message, label="System Message", interactive=True, visible=True, placeholder="system prompt, useful for RP", lines=5)
|
129 |
|
130 |
chat_history_state = gr.State()
|
131 |
clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message], queue=False)
|