Update app.py
Browse files
app.py
CHANGED
|
@@ -156,7 +156,7 @@ with gr.Blocks() as demo:
|
|
| 156 |
gr.Markdown("### Vídeo Base Gerado")
|
| 157 |
low_res_video_output = gr.Video(label="O resultado da Etapa 1 aparecerá aqui", interactive=False)
|
| 158 |
|
| 159 |
-
def update_custom_guidance_visibility(preset_choice):
|
| 160 |
return gr.update(visible=(preset_choice == "Customizado"))
|
| 161 |
|
| 162 |
fp_guidance_preset.change(fn=update_custom_guidance_visibility, inputs=fp_guidance_preset, outputs=custom_guidance_group)
|
|
|
|
| 156 |
gr.Markdown("### Vídeo Base Gerado")
|
| 157 |
low_res_video_output = gr.Video(label="O resultado da Etapa 1 aparecerá aqui", interactive=False)
|
| 158 |
|
| 159 |
+
def update_custom_guidance_visibility(preset_choice):
|
| 160 |
return gr.update(visible=(preset_choice == "Customizado"))
|
| 161 |
|
| 162 |
fp_guidance_preset.change(fn=update_custom_guidance_visibility, inputs=fp_guidance_preset, outputs=custom_guidance_group)
|