Python
restored neg prompt
deepbeepmeep49aaa12689ec
diff --git a/wgp.py b/wgp.pyindex 68bfc74..bdb7327 100644--- a/wgp.py+++ b/wgp.py@@ -6487,6 +6487,7 @@ def generate_video_tab(update_form = False, state_dict = None, ui_defaults = Nonstate = gr.State(state_dict)trigger_refresh_input_type = gr.Text(interactive= False, visible= False)t2v = base_model_type in ["t2v"]+ t2v_1_3B = base_model_type in ["t2v_1.3B"]flf2v = base_model_type == "flf2v_720p"diffusion_forcing = "diffusion_forcing" in model_filenameltxv = "ltxv" in model_filename@@ -6868,7 +6869,7 @@ def generate_video_tab(update_form = False, state_dict = None, ui_defaults = Nonwith gr.Row(visible = vace):control_net_weight = gr.Slider(0.0, 2.0, value=ui_defaults.get("control_net_weight",1), step=0.1, label="Control Net Weight #1", visible=vace)control_net_weight2 = gr.Slider(0.0, 2.0, value=ui_defaults.get("control_net_weight2",1), step=0.1, label="Control Net Weight #2", visible=vace)- negative_prompt = gr.Textbox(label="Negative Prompt (ignored if no Guidance that is if CFG = 1)", value=ui_defaults.get("negative_prompt", ""), visible = vace or t2v or test_class_i2v(model_type) )+ negative_prompt = gr.Textbox(label="Negative Prompt (ignored if no Guidance that is if CFG = 1)", value=ui_defaults.get("negative_prompt", ""), visible = not (hunyuan_t2v or hunyuan_i2v) )with gr.Column(visible = vace or t2v or test_class_i2v(model_type)) as NAG_col:gr.Markdown("<B>NAG enforces Negative Prompt even if no Guidance is set (CFG = 1), set NAG Scale to > 1 to enable it</B>")with gr.Row():