martin-gorner HF staff commited on
Commit
c16851d
1 Parent(s): 061118b

fix for disappearinf system prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -185,6 +185,7 @@ def instantiate_additional_settings():
185
  with gr.Accordion("Additional settings", open=False):
186
  system_message = gr.Textbox(
187
  label="Sytem prompt",
 
188
  value="You are a helpful assistant and your name is Eliza.",
189
  )
190
  return system_message
 
185
  with gr.Accordion("Additional settings", open=False):
186
  system_message = gr.Textbox(
187
  label="Sytem prompt",
188
+ key="system_prompt",
189
  value="You are a helpful assistant and your name is Eliza.",
190
  )
191
  return system_message