stardate69 commited on
Commit
f81bd55
Β·
verified Β·
1 Parent(s): 38967a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ with gr.Blocks() as demo:
48
  prompt_input = gr.Textbox(label="Prompt", value="The sound of a hammer hitting a wooden surface.")
49
  negative_input = gr.Textbox(label="Negative Prompt", value="Low quality.")
50
  with gr.Row():
51
- duration_input = gr.Slider(minimum=1, maximum=10, step=0.5, value=2, label="Duration (seconds)")
52
- diffusion_steps_input = gr.Slider(minimum=10, maximum=500, step=10, value=50, label="Diffusion Steps")
53
  with gr.Row():
54
  seed_input = gr.Number(label="Random Seed", value=42)
55
 
 
48
  prompt_input = gr.Textbox(label="Prompt", value="The sound of a hammer hitting a wooden surface.")
49
  negative_input = gr.Textbox(label="Negative Prompt", value="Low quality.")
50
  with gr.Row():
51
+ duration_input = gr.Slider(minimum=1, maximum=10, step=0.5, value=1, label="Duration (seconds)")
52
+ diffusion_steps_input = gr.Slider(minimum=1, maximum=500, step=10, value=10, label="Diffusion Steps")
53
  with gr.Row():
54
  seed_input = gr.Number(label="Random Seed", value=42)
55