Spaces:
Running
Running
Fix output index for preset change event handlers in video generation
Browse files
app.py
CHANGED
@@ -559,7 +559,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
559 |
|
560 |
# [Previous event handlers remain the same]
|
561 |
txt2vid_preset.change(
|
562 |
-
fn=preset_changed, inputs=[txt2vid_preset], outputs=txt2vid_advanced[
|
563 |
)
|
564 |
|
565 |
txt2vid_generate.click(
|
@@ -577,7 +577,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
577 |
)
|
578 |
|
579 |
img2vid_preset.change(
|
580 |
-
fn=preset_changed, inputs=[img2vid_preset], outputs=img2vid_advanced[
|
581 |
)
|
582 |
|
583 |
img2vid_generate.click(
|
|
|
559 |
|
560 |
# [Previous event handlers remain the same]
|
561 |
txt2vid_preset.change(
|
562 |
+
fn=preset_changed, inputs=[txt2vid_preset], outputs=txt2vid_advanced[3:]
|
563 |
)
|
564 |
|
565 |
txt2vid_generate.click(
|
|
|
577 |
)
|
578 |
|
579 |
img2vid_preset.change(
|
580 |
+
fn=preset_changed, inputs=[img2vid_preset], outputs=img2vid_advanced[3:]
|
581 |
)
|
582 |
|
583 |
img2vid_generate.click(
|