lvwerra HF staff commited on
Commit
3e1163e
1 Parent(s): b0fcf2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -159,9 +159,9 @@ css += share_btn_css + monospace_css + ".gradio-container {color: black}"
159
 
160
  description = """
161
  <div style="text-align: center;">
162
- <h1> 💫 StarCoder<span style='color: #e6b800;'> - </span>Playground 🪐</h1>
163
  <p>This is a demo to generate code with <a href="https://huggingface.co/bigcode/starcoder" style='color: #e6b800;'>StarCoder</a>, a 15B parameter model for code generation in 86 programming languages.
164
- You can also chat with a prompted version of the model at <a href="https://huggingface.co/chat/?model=bigcode/starcoder">hf.co/chat</a></p>
165
  </div>
166
  """
167
  disclaimer = """⚠️<b>Any use or sharing of this demo constitues your acceptance of the BigCode [OpenRAIL-M](https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement) License Agreement and the use restrictions included within.</b>\
@@ -173,8 +173,8 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
173
  with gr.Row():
174
  with gr.Column():
175
  instruction = gr.Textbox(
176
- placeholder="Enter your prompt here",
177
- label="Prompt",
178
  elem_id="q-input",
179
  )
180
  submit = gr.Button("Generate", variant="primary")
 
159
 
160
  description = """
161
  <div style="text-align: center;">
162
+ <h1> 💫 StarCoder<span style='color: #e6b800;'> - </span>Code Completion Playground 🪐</h1>
163
  <p>This is a demo to generate code with <a href="https://huggingface.co/bigcode/starcoder" style='color: #e6b800;'>StarCoder</a>, a 15B parameter model for code generation in 86 programming languages.
164
+ **This is not an instruction model**. For instruction and chatting you can chat with a prompted version of the model at <a href="https://huggingface.co/chat/?model=bigcode/starcoder">hf.co/chat</a></p>
165
  </div>
166
  """
167
  disclaimer = """⚠️<b>Any use or sharing of this demo constitues your acceptance of the BigCode [OpenRAIL-M](https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement) License Agreement and the use restrictions included within.</b>\
 
173
  with gr.Row():
174
  with gr.Column():
175
  instruction = gr.Textbox(
176
+ placeholder="Enter your code here",
177
+ label="Code",
178
  elem_id="q-input",
179
  )
180
  submit = gr.Button("Generate", variant="primary")