Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
| 52 |
-
diffusion_steps_input = gr.Slider(minimum=
|
| 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 |
|