Fabrice-TIERCELIN commited on
Commit
dafe49c
·
verified ·
1 Parent(s): ddf2217

Resolution

Browse files
Files changed (1) hide show
  1. app.py +1 -16
app.py CHANGED
@@ -997,22 +997,7 @@ 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.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.')
 
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.')