Fabrice-TIERCELIN commited on
Commit
fe28c39
·
verified ·
1 Parent(s): ddc2b76
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2461,18 +2461,18 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
2461
  input_image_debug=gr.Image(type="filepath", label="Image Debug")
2462
  input_audio_debug = gr.Audio(label="Audio Debug", type="filepath")
2463
  input_video_debug=gr.Video(label="Video Debug")
2464
- total_second_length_debug=gr.Slider(label="Duration Debug", minimum=1, maximum=120, value=13, step=0.1)
2465
  resolution_debug = gr.Dropdown(
2466
  choices=[
2467
  ["16:9", "16:9"],
2468
  ["1:1", "1:1"],
2469
  ["9:16", "9:16"],
2470
  ],
2471
- value="16:9",
2472
  elem_id="resolution_ui",
2473
  label="Resolution Debug")
2474
  factor_debug=gr.Slider(label="Factor Debug", minimum=1, maximum=100, value=3.2, step=0.1)
2475
- allocation_time_debug=gr.Slider(label="Allocation Debug", minimum=1, maximum=60 * 20, value=600, step=1)
2476
 
2477
  def handle_field_debug_change(
2478
  input_image_debug_data,
 
2461
  input_image_debug=gr.Image(type="filepath", label="Image Debug")
2462
  input_audio_debug = gr.Audio(label="Audio Debug", type="filepath")
2463
  input_video_debug=gr.Video(label="Video Debug")
2464
+ total_second_length_debug=gr.Slider(label="Duration Debug", minimum=1, maximum=120, value=11, step=0.1)
2465
  resolution_debug = gr.Dropdown(
2466
  choices=[
2467
  ["16:9", "16:9"],
2468
  ["1:1", "1:1"],
2469
  ["9:16", "9:16"],
2470
  ],
2471
+ value="9:16",
2472
  elem_id="resolution_ui",
2473
  label="Resolution Debug")
2474
  factor_debug=gr.Slider(label="Factor Debug", minimum=1, maximum=100, value=3.2, step=0.1)
2475
+ allocation_time_debug=gr.Slider(label="Allocation Debug", minimum=1, maximum=60 * 40, value=60 * 20, step=1)
2476
 
2477
  def handle_field_debug_change(
2478
  input_image_debug_data,