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 lines128129130131132133134135136137138139140178 unmodified lines31932032132232332432532632732832933011 unmodified lines34234334434534634734859 unmodified lines408409410411412413414415416417418419420127 unmodified linesdenoise_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 argssource_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.0with gr.Row():# Disable teacache by defaultenable_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 linesreasoning_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 Checkboxenable_acceleration = gr.Checkbox(label="Enable 4-step Acceleration (FusionX LoRA)", value=True)# Use custom height/width creation to hide/customizeresize_method, width_slider, height_slider, base_resolution = create_height_width_english(59 unmodified linesdenoise_strength,seed_textbox,ref_image,enable_teacache,teacache_threshold,num_skip_start_steps,teacache_offload,cfg_skip_ratio,enable_riflex,riflex_k,# New inputssource_frames_slider,reasoning_frames_slider,127 unmodified lines128129130131132133178 unmodified lines31231331431531631711 unmodified lines32933033133233333433559 unmodified lines395396397398399400127 unmodified linesdenoise_strength,seed_textbox,ref_image=None,# Custom argssource_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.0with 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 linesreasoning_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 Checkboxenable_acceleration = gr.Checkbox(label="Enable 4-step Acceleration (FusionX LoRA)", value=False)# Use custom height/width creation to hide/customizeresize_method, width_slider, height_slider, base_resolution = create_height_width_english(59 unmodified linesdenoise_strength,seed_textbox,ref_image,# New inputssource_frames_slider,reasoning_frames_slider,
40 unmodified lines4142434445464740 unmodified linesgr.Markdown("""### Model checkpoints.""")with gr.Row(visible=visible):diffusion_transformer_dropdown = gr.Dropdown(40 unmodified lines414243444546474840 unmodified linesgr.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