Commit ·
c7eaeb0
1
Parent(s): e6a0a9e
wo acceleration lora, 4 step
Browse filesFiles changed (2)
- app.py+1-21
- videox_fun/ui/ui.py+2-1
127 unmodified lines128129130131132133134135136137131132133178 unmodified lines31231331432232332432532632731531631711 unmodified lines32933033134533233333433559 unmodified lines395396397411412413414415416417398399400127 unmodified lines denoise_strength, seed_textbox, ref_image=None, enable_teacache=None, teacache_threshold=None, num_skip_start_steps=None, teacache_offload=None, cfg_skip_ratio=None, enable_riflex=None, riflex_k=None, # Custom args source_frames_slider=33, reasoning_frames_slider=4,178 unmodified lines # Set default LoRA alpha to 1.0 (matching inference.py) lora_alpha_slider.value = 1.0
with gr.Row(): # Disable teacache by default enable_teacache, teacache_threshold, num_skip_start_steps, teacache_offload = create_teacache_params(False, 0.10, 5, False) cfg_skip_ratio = create_cfg_skip_params(0) enable_riflex, riflex_k = create_cfg_riflex_k(False, 6)
with gr.Column(variant="panel"): prompt_textbox, negative_prompt_textbox = create_prompts(prompt="Remove the young man with short black hair wearing black shirt on the left.") 11 unmodified lines reasoning_frames_slider = gr.Slider(label="Reasoning Frames", minimum=1, maximum=20, value=4, step=1) repeat_rope_checkbox = gr.Checkbox(label="Repeat RoPE", value=True) # Add Acceleration Checkbox enable_acceleration = gr.Checkbox(label="Enable 4-step Acceleration (FusionX LoRA)", value=True) enable_acceleration = gr.Checkbox(label="Enable 4-step Acceleration (FusionX LoRA)", value=False) # Use custom height/width creation to hide/customize resize_method, width_slider, height_slider, base_resolution = create_height_width_english(59 unmodified lines denoise_strength, seed_textbox, ref_image, enable_teacache, teacache_threshold, num_skip_start_steps, teacache_offload, cfg_skip_ratio, enable_riflex, riflex_k, # New inputs source_frames_slider, reasoning_frames_slider,40 unmodified lines41424344444546474840 unmodified lines gr.Markdown( """ ### Model checkpoints. """ """, visible=visible ) with gr.Row(visible=visible): diffusion_transformer_dropdown = gr.Dropdown(app.py+1-21
videox_fun/ui/ui.py+2-1