James Cox-Morton commited on
Commit
0fc087b
·
1 Parent(s): 9ef0b1a

Set the system prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
101
  demo = gr.ChatInterface(
102
  stream_chat,
103
  additional_inputs=[
104
- gr.Textbox(value="You are a helpful Chatbot.", label="System message"),
105
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
106
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
107
  gr.Slider(
 
101
  demo = gr.ChatInterface(
102
  stream_chat,
103
  additional_inputs=[
104
+ gr.Textbox(value="You are an ARM Assembly language decoder. You receive a line of Arm assembly and respond with a description of what the instruction does.", label="System message"),
105
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
106
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
107
  gr.Slider(