Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ if "WizardCoder" in model_filename:
|
|
137 |
model_type="starcoder",
|
138 |
threads=8)
|
139 |
|
140 |
-
|
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=
|
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():
|