Fabrice-TIERCELIN commited on
Commit
97b49c0
·
verified ·
1 Parent(s): 83425bc

768, # resolution

Browse files
Files changed (1) hide show
  1. app.py +17 -2
app.py CHANGED
@@ -997,7 +997,22 @@ with block:
997
 
998
  with gr.Row():
999
  no_resize = gr.Checkbox(label='Force Original Video Resolution (no Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
1000
- resolution = gr.Number(label="Resolution (max width or height)", value=640, minimum=1, precision=0)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1001
 
1002
  # 20250506 pftq: Reduced default distilled guidance scale to improve adherence to input video
1003
  cfg = gr.Slider(label="CFG Scale", minimum=1.0, maximum=32.0, value=1.0, step=0.01, info='Use this instead of Distilled for more detail/control + Negative Prompt (make sure Distilled set to 1). Doubles render time. Should not change.')
@@ -1088,7 +1103,7 @@ with block:
1088
  "Missing arm, unrealistic position, impossible contortion, blurred, blurry", # n_prompt
1089
  True, # randomize_seed
1090
  42, # seed
1091
- 720, # resolution
1092
  1, # total_second_length
1093
  9, # latent_window_size
1094
  25, # steps
 
997
 
998
  with gr.Row():
999
  no_resize = gr.Checkbox(label='Force Original Video Resolution (no Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
1000
+ resolution = gr.Dropdown([
1001
+ 416,
1002
+ 448,
1003
+ 480,
1004
+ 512,
1005
+ 544,
1006
+ 576,
1007
+ 608,
1008
+ 640,
1009
+ 672,
1010
+ 704,
1011
+ 768,
1012
+ 832,
1013
+ 864,
1014
+ 960
1015
+ ], label="Resolution (max width or height)")
1016
 
1017
  # 20250506 pftq: Reduced default distilled guidance scale to improve adherence to input video
1018
  cfg = gr.Slider(label="CFG Scale", minimum=1.0, maximum=32.0, value=1.0, step=0.01, info='Use this instead of Distilled for more detail/control + Negative Prompt (make sure Distilled set to 1). Doubles render time. Should not change.')
 
1103
  "Missing arm, unrealistic position, impossible contortion, blurred, blurry", # n_prompt
1104
  True, # randomize_seed
1105
  42, # seed
1106
+ 768, # resolution
1107
  1, # total_second_length
1108
  9, # latent_window_size
1109
  25, # steps