mikeee commited on
Commit
896d8df
1 Parent(s): cf841df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -137,7 +137,7 @@ if "WizardCoder" in model_filename:
137
  model_type="starcoder",
138
  threads=8)
139
 
140
- system_prompt = "A conversation between a user and an LLM-based AI assistant named Local Assistant. Local Assistant gives helpful and honest answers."
141
 
142
  user_prefix = "[user]: "
143
  assistant_prefix = "[assistant]: "
@@ -198,7 +198,7 @@ with gr.Blocks(
198
  with gr.Column(scale=2):
199
  system = gr.Textbox(
200
  label="System Prompt",
201
- value=Chat.default_system_prompt,
202
  show_label=False,
203
  ).style(container=False)
204
  with gr.Column():
 
137
  model_type="starcoder",
138
  threads=8)
139
 
140
+ default_system_prompt = "A conversation between a user and an LLM-based AI assistant named Local Assistant. Local Assistant gives helpful and honest answers."
141
 
142
  user_prefix = "[user]: "
143
  assistant_prefix = "[assistant]: "
 
198
  with gr.Column(scale=2):
199
  system = gr.Textbox(
200
  label="System Prompt",
201
+ value=default_system_prompt,
202
  show_label=False,
203
  ).style(container=False)
204
  with gr.Column():