Tonic commited on
Commit
66c11c8
1 Parent(s): 2f65e28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=100, label="Generate Length")
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=200, label="Generate Length")
48
  generate_btn = gr.Button("Try✨StarCoder")
49
  output = gr.Code(label="✨StarCoder:", lines=40)
50