Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ with gr.Blocks() as apps:
|
|
| 20 |
with gr.Row():
|
| 21 |
mdn = gr.Markdown("## StarCoder 15b Instruct\n\n---\n\n")
|
| 22 |
with gr.Row():
|
| 23 |
-
code = gr.Code("//
|
| 24 |
with gr.Row():
|
| 25 |
btn = gr.Button("Complete with StarCoder")
|
| 26 |
btn.click(code_block, inputs=[code, mdn], outputs=[code, mdn])
|
|
|
|
| 20 |
with gr.Row():
|
| 21 |
mdn = gr.Markdown("## StarCoder 15b Instruct\n\n---\n\n")
|
| 22 |
with gr.Row():
|
| 23 |
+
code = gr.Code("// code.js\n/// Write a function in Javascript that queries a websocket for the current time from epoch in ms.\nconst epochy = () => {")
|
| 24 |
with gr.Row():
|
| 25 |
btn = gr.Button("Complete with StarCoder")
|
| 26 |
btn.click(code_block, inputs=[code, mdn], outputs=[code, mdn])
|