fix(framepack): default the vae dropdown to a value it offers

The FP VAE dropdown defaulted to Local, which is not among its choices, so
the control rendered with an out-of-list value. The decode dispatch treats
anything unrecognized as Full, so Full is the value the default already
meant.
This commit is contained in:
CalamitousFelicitousness
2026-08-18 00:32:50 +01:00
parent 41be54eb01
commit 680005c61d
+1 -1
View File
@@ -64,7 +64,7 @@ def create_ui(prompt, negative, styles, _overrides, script_inputs, mp4_fps, mp4_
use_cfgzero = gr.Checkbox(label='FP enable CFGZero', value=False)
use_preview = gr.Checkbox(label='FP enable Preview', value=True)
attention = gr.Dropdown(label="FP attention", choices=['Default', 'Xformers', 'FlashAttention', 'SageAttention'], value='Default', type='value')
vae_type = gr.Dropdown(label="FP VAE", choices=['Full', 'Tiny', 'Remote'], value='Local', type='value')
vae_type = gr.Dropdown(label="FP VAE", choices=['Full', 'Tiny', 'Remote'], value='Full', type='value')
with gr.Column(elem_id='framepack-output-column', scale=2) as _column_output:
with gr.Tabs():