Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ def run_seedvr_upscaling(state, seed, resolution, batch_size, fps, progress=gr.P
|
|
| 123 |
return None, gr.update(value=f"❌ Erro no SeedVR:\n{e}")
|
| 124 |
|
| 125 |
# --- DEFINIÇÃO DA INTERFACE GRADIO ---
|
| 126 |
-
with gr.Blocks(
|
| 127 |
gr.Markdown("# LTX Video - Geração e Pós-Produção por Etapas")
|
| 128 |
|
| 129 |
app_state = gr.State(value=create_initial_state())
|
|
@@ -180,7 +180,7 @@ with gr.Blocks(css="#col-container { margin: 0 auto; max-width: 900px; }", theme
|
|
| 180 |
decode_timestep = gr.Slider(label="Decode Timestep", minimum=0.0, maximum=1.0, step=0.01, value=0.05, info="Nível de ruído para o VAE denoiser.")
|
| 181 |
decode_noise_scale = gr.Slider(label="Decode Noise Scale", minimum=0.0, maximum=1.0, step=0.005, value=0.025, info="Escala do ruído no decode.")
|
| 182 |
|
| 183 |
-
cfg_input = gr.Slider(label="Guidance Scale (CFG)", info="Afeta o refinamento (se usado) e não tem efeito no First Pass dos modelos 'distilled'.", value=
|
| 184 |
|
| 185 |
generate_low_btn = gr.Button("1. Gerar Vídeo Base", variant="primary")
|
| 186 |
|
|
|
|
| 123 |
return None, gr.update(value=f"❌ Erro no SeedVR:\n{e}")
|
| 124 |
|
| 125 |
# --- DEFINIÇÃO DA INTERFACE GRADIO ---
|
| 126 |
+
with gr.Blocks() as demo:
|
| 127 |
gr.Markdown("# LTX Video - Geração e Pós-Produção por Etapas")
|
| 128 |
|
| 129 |
app_state = gr.State(value=create_initial_state())
|
|
|
|
| 180 |
decode_timestep = gr.Slider(label="Decode Timestep", minimum=0.0, maximum=1.0, step=0.01, value=0.05, info="Nível de ruído para o VAE denoiser.")
|
| 181 |
decode_noise_scale = gr.Slider(label="Decode Noise Scale", minimum=0.0, maximum=1.0, step=0.005, value=0.025, info="Escala do ruído no decode.")
|
| 182 |
|
| 183 |
+
cfg_input = gr.Slider(label="Guidance Scale (CFG)", info="Afeta o refinamento (se usado) e não tem efeito no First Pass dos modelos 'distilled'.", value=0.1, step=0.1, minimum=1.0, maximum=10.0)
|
| 184 |
|
| 185 |
generate_low_btn = gr.Button("1. Gerar Vídeo Base", variant="primary")
|
| 186 |
|