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

Use TeaCache

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -400,7 +400,7 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
400
  total_second_length = gr.Slider(label="Generated Video Length (Seconds)", minimum=1, maximum=5, value=2, step=0.1)
401
  with gr.Group():
402
  with gr.Accordion("Advanced settings", open=False):
403
- use_teacache = gr.Checkbox(label='Use TeaCache', value=False, info='Faster speed, but often makes hands and fingers slightly worse.')
404
 
405
  n_prompt = gr.Textbox(label="Negative Prompt", value="") # Not used
406
  randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
@@ -452,7 +452,7 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
452
  10.0, # gs
453
  0.0, # rs
454
  6, # gpu_memory_preservation
455
- False, # use_teacache
456
  16 # mp4_crf
457
  ],
458
  [
@@ -469,7 +469,7 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
469
  10.0, # gs
470
  0.0, # rs
471
  6, # gpu_memory_preservation
472
- False, # use_teacache
473
  16 # mp4_crf
474
  ],
475
  [
@@ -486,7 +486,7 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
486
  10.0, # gs
487
  0.0, # rs
488
  6, # gpu_memory_preservation
489
- False, # use_teacache
490
  16 # mp4_crf
491
  ],
492
  [
@@ -503,7 +503,7 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
503
  10.0, # gs
504
  0.0, # rs
505
  6, # gpu_memory_preservation
506
- False, # use_teacache
507
  16 # mp4_crf
508
  ],
509
  ],
 
400
  total_second_length = gr.Slider(label="Generated Video Length (Seconds)", minimum=1, maximum=5, value=2, step=0.1)
401
  with gr.Group():
402
  with gr.Accordion("Advanced settings", open=False):
403
+ use_teacache = gr.Checkbox(label='Use TeaCache', value=True, info='Faster speed, but often makes hands and fingers slightly worse.')
404
 
405
  n_prompt = gr.Textbox(label="Negative Prompt", value="") # Not used
406
  randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
 
452
  10.0, # gs
453
  0.0, # rs
454
  6, # gpu_memory_preservation
455
+ True, # use_teacache
456
  16 # mp4_crf
457
  ],
458
  [
 
469
  10.0, # gs
470
  0.0, # rs
471
  6, # gpu_memory_preservation
472
+ True, # use_teacache
473
  16 # mp4_crf
474
  ],
475
  [
 
486
  10.0, # gs
487
  0.0, # rs
488
  6, # gpu_memory_preservation
489
+ True, # use_teacache
490
  16 # mp4_crf
491
  ],
492
  [
 
503
  10.0, # gs
504
  0.0, # rs
505
  6, # gpu_memory_preservation
506
+ True, # use_teacache
507
  16 # mp4_crf
508
  ],
509
  ],