Update app.py
Browse files
app.py
CHANGED
|
@@ -302,18 +302,20 @@ with gr.Blocks(title="LTX-2 Keyframe Interpolation 🎥🔈") as demo:
|
|
| 302 |
)
|
| 303 |
|
| 304 |
with gr.Tab("Generate"):
|
| 305 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 306 |
edit_prompt = gr.Textbox(
|
| 307 |
-
label="Edit Prompt",
|
|
|
|
| 308 |
placeholder="Describe the transformation (e.g., '5 seconds later, sunset lighting')",
|
| 309 |
lines=2,
|
| 310 |
value="5 seconds in the future"
|
| 311 |
)
|
| 312 |
generate_end_btn = gr.Button("Generate End Frame", variant="secondary")
|
| 313 |
-
|
| 314 |
-
label="Generated End Frame",
|
| 315 |
-
type="pil",
|
| 316 |
-
)
|
| 317 |
|
| 318 |
prompt = gr.Textbox(
|
| 319 |
label="Prompt",
|
|
|
|
| 302 |
)
|
| 303 |
|
| 304 |
with gr.Tab("Generate"):
|
| 305 |
+
end_frame_generated = gr.Image(
|
| 306 |
+
label="Generated End Frame",
|
| 307 |
+
type="pil",
|
| 308 |
+
)
|
| 309 |
+
# gr.Markdown("Generate an end frame with Qwen Edit")
|
| 310 |
edit_prompt = gr.Textbox(
|
| 311 |
+
label="Edit Prompt for end frame",
|
| 312 |
+
info ="Generate end frame with Qwen Edit",
|
| 313 |
placeholder="Describe the transformation (e.g., '5 seconds later, sunset lighting')",
|
| 314 |
lines=2,
|
| 315 |
value="5 seconds in the future"
|
| 316 |
)
|
| 317 |
generate_end_btn = gr.Button("Generate End Frame", variant="secondary")
|
| 318 |
+
|
|
|
|
|
|
|
|
|
|
| 319 |
|
| 320 |
prompt = gr.Textbox(
|
| 321 |
label="Prompt",
|