Spaces:
Runtime error
Runtime error
Update app.py
Browse files158 unmodified lines1591601611621621631641641651661675 unmodified lines173174175176177176177178179180158 unmodified lines
description = """<div style="text-align: center;"> <h1> 💫 StarCoder<span style='color: #e6b800;'> - </span>Playground 🪐</h1> <h1> 💫 StarCoder<span style='color: #e6b800;'> - </span>Code Completion Playground 🪐</h1> <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. 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> **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></div>"""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>\5 unmodified lines with gr.Row(): with gr.Column(): instruction = gr.Textbox( placeholder="Enter your prompt here", label="Prompt", placeholder="Enter your code here", label="Code", elem_id="q-input", ) submit = gr.Button("Generate", variant="primary")app.py+4-4