["16:9", "16:9"],
Browse files
app.py
CHANGED
|
@@ -2339,25 +2339,18 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
|
|
| 2339 |
cache_examples=True,
|
| 2340 |
)
|
| 2341 |
prompt_debug=gr.Textbox(label="Prompt Debug")
|
| 2342 |
-
input_image_debug=gr.Image(type="
|
| 2343 |
-
|
| 2344 |
total_second_length_debug=gr.Slider(label="Duration Debug", minimum=1, maximum=120, value=5, step=0.1)
|
| 2345 |
-
resolution_debug = gr.Dropdown(
|
| 2346 |
-
|
| 2347 |
-
|
| 2348 |
-
|
| 2349 |
-
|
| 2350 |
-
|
| 2351 |
-
|
| 2352 |
-
|
| 2353 |
-
|
| 2354 |
-
["1,000,000 px", 1000000],
|
| 2355 |
-
["1,100,000 px", 1100000],
|
| 2356 |
-
["1,200,000 px", 1200000],
|
| 2357 |
-
["1,300,000 px", 1300000],
|
| 2358 |
-
["1,400,000 px", 1400000],
|
| 2359 |
-
["1,500,000 px", 1500000]
|
| 2360 |
-
], value=500000, label="Resolution Debug")
|
| 2361 |
factor_debug=gr.Slider(label="Factor Debug", minimum=1, maximum=100, value=3.2, step=0.1)
|
| 2362 |
allocation_time_debug=gr.Slider(label="Allocation Debug", minimum=1, maximum=60 * 20, value=720, step=1)
|
| 2363 |
|
|
|
|
| 2339 |
cache_examples=True,
|
| 2340 |
)
|
| 2341 |
prompt_debug=gr.Textbox(label="Prompt Debug")
|
| 2342 |
+
input_image_debug=gr.Image(type="filepath", label="Image Debug")
|
| 2343 |
+
input_video_debug=gr.Video(label="Video Debug")
|
| 2344 |
total_second_length_debug=gr.Slider(label="Duration Debug", minimum=1, maximum=120, value=5, step=0.1)
|
| 2345 |
+
resolution_debug = gr.Dropdown(
|
| 2346 |
+
choices=[
|
| 2347 |
+
["16:9", "16:9"],
|
| 2348 |
+
["1:1", "1:1"],
|
| 2349 |
+
["9:16", "9:16"],
|
| 2350 |
+
],
|
| 2351 |
+
value="16:9",
|
| 2352 |
+
elem_id="resolution_ui",
|
| 2353 |
+
label="Resolution Debug")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2354 |
factor_debug=gr.Slider(label="Factor Debug", minimum=1, maximum=100, value=3.2, step=0.1)
|
| 2355 |
allocation_time_debug=gr.Slider(label="Allocation Debug", minimum=1, maximum=60 * 20, value=720, step=1)
|
| 2356 |
|