Color code
Browse files- app_v2v.py +4 -4
app_v2v.py
CHANGED
|
@@ -651,12 +651,12 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
|
|
| 651 |
prompt = gr.Textbox(label="Prompt", value='')
|
| 652 |
|
| 653 |
with gr.Row():
|
| 654 |
-
start_button = gr.Button(value="Start Generation")
|
| 655 |
-
end_button = gr.Button(value="End Generation", interactive=False)
|
| 656 |
|
| 657 |
with gr.Accordion("Advanced settings", open=False):
|
| 658 |
with gr.Row():
|
| 659 |
-
use_teacache = gr.Checkbox(label='Use TeaCache', value=
|
| 660 |
no_resize = gr.Checkbox(label='Force Original Video Resolution (No Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
|
| 661 |
|
| 662 |
randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
|
|
@@ -722,7 +722,7 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
|
|
| 722 |
10.0, # gs
|
| 723 |
0.0, # rs
|
| 724 |
6, # gpu_memory_preservation
|
| 725 |
-
|
| 726 |
False, # no_resize
|
| 727 |
16, # mp4_crf
|
| 728 |
5, # num_clean_frames
|
|
|
|
| 651 |
prompt = gr.Textbox(label="Prompt", value='')
|
| 652 |
|
| 653 |
with gr.Row():
|
| 654 |
+
start_button = gr.Button(value="Start Generation", variant="primary")
|
| 655 |
+
end_button = gr.Button(value="End Generation", variant="stop", interactive=False)
|
| 656 |
|
| 657 |
with gr.Accordion("Advanced settings", open=False):
|
| 658 |
with gr.Row():
|
| 659 |
+
use_teacache = gr.Checkbox(label='Use TeaCache', value=False, info='Faster speed, but often makes hands and fingers slightly worse.')
|
| 660 |
no_resize = gr.Checkbox(label='Force Original Video Resolution (No Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
|
| 661 |
|
| 662 |
randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
|
|
|
|
| 722 |
10.0, # gs
|
| 723 |
0.0, # rs
|
| 724 |
6, # gpu_memory_preservation
|
| 725 |
+
False, # use_teacache
|
| 726 |
False, # no_resize
|
| 727 |
16, # mp4_crf
|
| 728 |
5, # num_clean_frames
|