winglian commited on
Commit
2fb46bd
·
1 Parent(s): 2f065a2

Update tabbed.py

Browse files
Files changed (1) hide show
  1. tabbed.py +2 -2
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=1,
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=False, visible=True, placeholder="system prompt, useful for RP")
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)