Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def gradio_app():
|
|
44 |
prompt = gr.Code(label="Enter your code prompt", value="def print_hello_world():")
|
45 |
with gr.Row():
|
46 |
temperature = gr.Slider(minimum=0.1, maximum=1.0, step=0.1, value=0.5, label="Temperature")
|
47 |
-
max_length = gr.Slider(minimum=100, maximum=1024, step=10, value=
|
48 |
generate_btn = gr.Button("Try✨StarCoder")
|
49 |
output = gr.Code(label="✨StarCoder:", lines=40)
|
50 |
|
|
|
44 |
prompt = gr.Code(label="Enter your code prompt", value="def print_hello_world():")
|
45 |
with gr.Row():
|
46 |
temperature = gr.Slider(minimum=0.1, maximum=1.0, step=0.1, value=0.5, label="Temperature")
|
47 |
+
max_length = gr.Slider(minimum=100, maximum=1024, step=10, value=450, label="Generate Length")
|
48 |
generate_btn = gr.Button("Try✨StarCoder")
|
49 |
output = gr.Code(label="✨StarCoder:", lines=40)
|
50 |
|