Fabrice-TIERCELIN commited on
Commit
a658651
·
verified ·
1 Parent(s): 5f9b02f

Use TeaCache

Browse files
Files changed (1) hide show
  1. app_endframe.py +2 -4
app_endframe.py CHANGED
@@ -771,8 +771,6 @@ with block:
771
  end_frame_weight = gr.Slider(label="End Frame Weight", minimum=0.0, maximum=1.0, value=1.0, step=0.01, info='Reduce to treat more as a reference image.', visible=False) # no effect
772
 
773
  prompt = gr.Textbox(label="Prompt", value='')
774
- #example_quick_prompts = gr.Dataset(samples=quick_prompts, label='Quick List', samples_per_page=1000, components=[prompt])
775
- #example_quick_prompts.click(lambda x: x[0], inputs=[example_quick_prompts], outputs=prompt, show_progress=False, queue=False)
776
 
777
  with gr.Row():
778
  start_button = gr.Button(value="Start Generation", variant="primary")
@@ -780,7 +778,7 @@ with block:
780
 
781
  with gr.Accordion("Advanced settings", open=False):
782
  with gr.Row():
783
- use_teacache = gr.Checkbox(label='Use TeaCache', value=False, info='Faster speed, but often makes hands and fingers slightly worse.')
784
  no_resize = gr.Checkbox(label='Force Original Video Resolution (No Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
785
 
786
  randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
@@ -850,7 +848,7 @@ with block:
850
  10.0, # gs
851
  0.0, # rs
852
  6, # gpu_memory_preservation
853
- False, # use_teacache
854
  False, # no_resize
855
  16, # mp4_crf
856
  5, # num_clean_frames
 
771
  end_frame_weight = gr.Slider(label="End Frame Weight", minimum=0.0, maximum=1.0, value=1.0, step=0.01, info='Reduce to treat more as a reference image.', visible=False) # no effect
772
 
773
  prompt = gr.Textbox(label="Prompt", value='')
 
 
774
 
775
  with gr.Row():
776
  start_button = gr.Button(value="Start Generation", variant="primary")
 
778
 
779
  with gr.Accordion("Advanced settings", open=False):
780
  with gr.Row():
781
+ use_teacache = gr.Checkbox(label='Use TeaCache', value=True, info='Faster speed, but often makes hands and fingers slightly worse.')
782
  no_resize = gr.Checkbox(label='Force Original Video Resolution (No Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
783
 
784
  randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
 
848
  10.0, # gs
849
  0.0, # rs
850
  6, # gpu_memory_preservation
851
+ True, # use_teacache
852
  False, # no_resize
853
  16, # mp4_crf
854
  5, # num_clean_frames