Spaces:
Running
on
Zero
Running
on
Zero
fix
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def respond(
|
|
| 36 |
|
| 37 |
demo = gr.ChatInterface(
|
| 38 |
fn=respond,
|
| 39 |
-
|
| 40 |
additional_inputs=[
|
| 41 |
gr.Textbox(value="You are a helpful coding assistant.", label="System message"),
|
| 42 |
gr.Slider(1, 2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 36 |
|
| 37 |
demo = gr.ChatInterface(
|
| 38 |
fn=respond,
|
| 39 |
+
system_message="You are a helpful coding assistant.",
|
| 40 |
additional_inputs=[
|
| 41 |
gr.Textbox(value="You are a helpful coding assistant.", label="System message"),
|
| 42 |
gr.Slider(1, 2048, value=512, step=1, label="Max new tokens"),
|