Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,10 +114,10 @@ with gr.Blocks() as demo:
|
|
| 114 |
start_image = gr.Image(label="Imagem de Início (Opcional)", type="filepath", sources=["upload", "clipboard"])
|
| 115 |
|
| 116 |
with gr.Accordion("Parâmetros Avançados", open=False):
|
| 117 |
-
height_input = gr.Slider(label="Height", value=512, step=
|
| 118 |
-
width_input = gr.Slider(label="Width", value=
|
| 119 |
-
duration_input = gr.Slider(label="Duração (s)", value=
|
| 120 |
-
cfg_input = gr.Slider(label="Guidance Scale (CFG)", value=
|
| 121 |
seed_input = gr.Number(label="Seed", value=42, precision=0)
|
| 122 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 123 |
|
|
|
|
| 114 |
start_image = gr.Image(label="Imagem de Início (Opcional)", type="filepath", sources=["upload", "clipboard"])
|
| 115 |
|
| 116 |
with gr.Accordion("Parâmetros Avançados", open=False):
|
| 117 |
+
height_input = gr.Slider(label="Height", value=512, step=64, minimum=256, maximum=1024)
|
| 118 |
+
width_input = gr.Slider(label="Width", value=512, step=64, minimum=256, maximum=1024)
|
| 119 |
+
duration_input = gr.Slider(label="Duração (s)", value=8, step=8, minimum=1, maximum=60)
|
| 120 |
+
cfg_input = gr.Slider(label="Guidance Scale (CFG)", value=5.0, step=1, minimum=1, maximum=10.0)
|
| 121 |
seed_input = gr.Number(label="Seed", value=42, precision=0)
|
| 122 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 123 |
|