Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -352,8 +352,8 @@ with gr.Blocks() as demo:
|
|
| 352 |
gr.Markdown("# Fast 4 steps Wan 2.2 I2V (14B) with Lightning LoRA")
|
| 353 |
gr.Markdown("run Wan 2.2 in just 4-8 steps, with [Lightning LoRA](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Wan22-Lightning), fp8 quantization & AoT compilation - compatible with 🧨 diffusers and ZeroGPU⚡️")
|
| 354 |
|
| 355 |
-
with gr.Row(
|
| 356 |
-
with gr.Column(
|
| 357 |
input_image_component = gr.Image(
|
| 358 |
type="pil",
|
| 359 |
label="Input Image (auto-resized to target H/W)",
|
|
@@ -387,7 +387,7 @@ with gr.Blocks() as demo:
|
|
| 387 |
|
| 388 |
generate_button = gr.Button("Generate Video", variant="primary")
|
| 389 |
|
| 390 |
-
with gr.Column(
|
| 391 |
video_output = gr.Video(label="Generated Video", autoplay=True, interactive=False, elem_classes=["stretch-video"])
|
| 392 |
|
| 393 |
ui_inputs = [
|
|
|
|
| 352 |
gr.Markdown("# Fast 4 steps Wan 2.2 I2V (14B) with Lightning LoRA")
|
| 353 |
gr.Markdown("run Wan 2.2 in just 4-8 steps, with [Lightning LoRA](https://huggingface.co/Kijai/WanVideo_comfy/tree/main/Wan22-Lightning), fp8 quantization & AoT compilation - compatible with 🧨 diffusers and ZeroGPU⚡️")
|
| 354 |
|
| 355 |
+
with gr.Row(): # ensures columns align in height
|
| 356 |
+
with gr.Column():
|
| 357 |
input_image_component = gr.Image(
|
| 358 |
type="pil",
|
| 359 |
label="Input Image (auto-resized to target H/W)",
|
|
|
|
| 387 |
|
| 388 |
generate_button = gr.Button("Generate Video", variant="primary")
|
| 389 |
|
| 390 |
+
with gr.Column():
|
| 391 |
video_output = gr.Video(label="Generated Video", autoplay=True, interactive=False, elem_classes=["stretch-video"])
|
| 392 |
|
| 393 |
ui_inputs = [
|