Fabrice-TIERCELIN commited on
Commit
3ac753f
·
verified ·
1 Parent(s): 81c00b0

use_teacache=True

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -524,7 +524,7 @@ def process(input_image, prompt,
524
  gs=10.0,
525
  rs=0.0,
526
  gpu_memory_preservation=6,
527
- use_teacache=False,
528
  mp4_crf=16
529
  ):
530
  global stream, input_image_debug_value, prompt_debug_value, total_second_length_debug_value
@@ -933,7 +933,7 @@ adapted from the official code repo [FramePack](https://github.com/lllyasviel/Fr
933
 
934
  with gr.Accordion("Advanced settings", open=False):
935
  with gr.Row():
936
- use_teacache = gr.Checkbox(label='Use TeaCache', value=False, info='Faster speed, but often makes hands and fingers slightly worse.')
937
  no_resize = gr.Checkbox(label='Force Original Video Resolution (no Resizing) (only for video extension)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
938
 
939
  n_prompt = gr.Textbox(label="Negative Prompt", value="Missing arm, unrealistic position, blurred, blurry", info='Requires using normal CFG (undistilled) instead of Distilled (set Distilled=1 and CFG > 1).')
@@ -984,7 +984,7 @@ adapted from the official code repo [FramePack](https://github.com/lllyasviel/Fr
984
  10.0, # gs
985
  0.0, # rs
986
  6, # gpu_memory_preservation
987
- False, # use_teacache
988
  16 # mp4_crf
989
  ],
990
  [
@@ -1001,7 +1001,7 @@ adapted from the official code repo [FramePack](https://github.com/lllyasviel/Fr
1001
  10.0, # gs
1002
  0.0, # rs
1003
  6, # gpu_memory_preservation
1004
- False, # use_teacache
1005
  16 # mp4_crf
1006
  ],
1007
  [
@@ -1018,7 +1018,7 @@ adapted from the official code repo [FramePack](https://github.com/lllyasviel/Fr
1018
  10.0, # gs
1019
  0.0, # rs
1020
  6, # gpu_memory_preservation
1021
- False, # use_teacache
1022
  16 # mp4_crf
1023
  ],
1024
  [
@@ -1035,7 +1035,7 @@ adapted from the official code repo [FramePack](https://github.com/lllyasviel/Fr
1035
  10.0, # gs
1036
  0.0, # rs
1037
  6, # gpu_memory_preservation
1038
- False, # use_teacache
1039
  16 # mp4_crf
1040
  ],
1041
  ],
 
524
  gs=10.0,
525
  rs=0.0,
526
  gpu_memory_preservation=6,
527
+ use_teacache=True,
528
  mp4_crf=16
529
  ):
530
  global stream, input_image_debug_value, prompt_debug_value, total_second_length_debug_value
 
933
 
934
  with gr.Accordion("Advanced settings", open=False):
935
  with gr.Row():
936
+ use_teacache = gr.Checkbox(label='Use TeaCache', value=True, info='Faster speed, but often makes hands and fingers slightly worse.')
937
  no_resize = gr.Checkbox(label='Force Original Video Resolution (no Resizing) (only for video extension)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
938
 
939
  n_prompt = gr.Textbox(label="Negative Prompt", value="Missing arm, unrealistic position, blurred, blurry", info='Requires using normal CFG (undistilled) instead of Distilled (set Distilled=1 and CFG > 1).')
 
984
  10.0, # gs
985
  0.0, # rs
986
  6, # gpu_memory_preservation
987
+ True, # use_teacache
988
  16 # mp4_crf
989
  ],
990
  [
 
1001
  10.0, # gs
1002
  0.0, # rs
1003
  6, # gpu_memory_preservation
1004
+ True, # use_teacache
1005
  16 # mp4_crf
1006
  ],
1007
  [
 
1018
  10.0, # gs
1019
  0.0, # rs
1020
  6, # gpu_memory_preservation
1021
+ True, # use_teacache
1022
  16 # mp4_crf
1023
  ],
1024
  [
 
1035
  10.0, # gs
1036
  0.0, # rs
1037
  6, # gpu_memory_preservation
1038
+ True, # use_teacache
1039
  16 # mp4_crf
1040
  ],
1041
  ],