Spaces:
Tonic
/
Running on Zero

Tonic commited on
Commit
cd08250
1 Parent(s): cbecf21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def generate_text(prompt, temperature, max_length):
29
  def gradio_app():
30
  with gr.Blocks() as demo:
31
  gr.Markdown(title)
32
- prompt = gr.Code(label="Enter your code prompt", placeholder="def print_hello_world():")
33
  with gr.Row():
34
  temperature = gr.Slider(minimum=0.1, maximum=1.0, step=0.1, value=0.5, label="Temperature")
35
  max_length = gr.Slider(minimum=100, maximum=1024, step=10, value=100, label="Generate Length")
 
29
  def gradio_app():
30
  with gr.Blocks() as demo:
31
  gr.Markdown(title)
32
+ prompt = gr.Code(label="Enter your code prompt", value="def print_hello_world():")
33
  with gr.Row():
34
  temperature = gr.Slider(minimum=0.1, maximum=1.0, step=0.1, value=0.5, label="Temperature")
35
  max_length = gr.Slider(minimum=100, maximum=1024, step=10, value=100, label="Generate Length")