fix indentation

This commit is contained in:
Chris Malone 2025-04-30 08:32:25 +10:00
parent da36edec4b
commit 2cf514ded8
1 changed files with 3 additions and 4 deletions

7
wgp.py
View File

@ -4266,10 +4266,9 @@ def generate_video_tab(update_form = False, state_dict = None, ui_defaults = Non
with gr.Accordion("Batch Generator", open=False) as batch_accordion_ui: with gr.Accordion("Batch Generator", open=False) as batch_accordion_ui:
batch_folder_input = gr.Textbox(label="Image Folder Path", placeholder="/path/to/your/image_folder") batch_folder_input = gr.Textbox(label="Image Folder Path", placeholder="/path/to/your/image_folder")
batch_has_end_frames_cb = gr.Checkbox(label="Folder contains start/end image pairs", value=False) batch_has_end_frames_cb = gr.Checkbox(label="Folder contains start/end image pairs", value=False)
video_source = gr.Video(visible=False)
video_source = gr.Video(visible=False) model_mode = gr.Dropdown(visible=False)
model_mode = gr.Dropdown(visible=False) keep_frames_video_source = gr.Text(visible=False)
keep_frames_video_source = gr.Text(visible=False)
with gr.Column(visible= vace or phantom) as video_prompt_column: with gr.Column(visible= vace or phantom) as video_prompt_column:
video_prompt_type_value= ui_defaults.get("video_prompt_type","") video_prompt_type_value= ui_defaults.get("video_prompt_type","")