Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -236,8 +236,8 @@ def generate_video(gallery_images, mode, prompt, height, width,
|
|
| 236 |
return video_path, current_seed
|
| 237 |
|
| 238 |
with gr.Blocks() as demo:
|
| 239 |
-
gr.Markdown("# Wan 2.1 VACE (14B)
|
| 240 |
-
gr.Markdown("Using [Wan2.1-VACE-14B](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B-diffusers) with Phantom FusionX
|
| 241 |
|
| 242 |
with gr.Row():
|
| 243 |
with gr.Column():
|
|
@@ -286,15 +286,6 @@ with gr.Blocks() as demo:
|
|
| 286 |
|
| 287 |
with gr.Column():
|
| 288 |
video_output = gr.Video(label="Generated Video", autoplay=True, interactive=False)
|
| 289 |
-
with gr.Accordion("Mode Information", open=False):
|
| 290 |
-
gr.Markdown("""
|
| 291 |
-
**Processing Modes:**
|
| 292 |
-
- **Ref2V**: Uses uploaded images as style references for video generation. All frames are generated based on the reference images.
|
| 293 |
-
- **FLF2V**: First-Last Frame mode - uses first and last images as keyframes and generates the frames in between (requires exactly 2 images)
|
| 294 |
-
- **Random2V**: Places uploaded images at specific frames in the video and generates the rest. Images are distributed evenly across the video duration.
|
| 295 |
-
|
| 296 |
-
**Note**: VACE pipeline supports advanced conditioning with masks and reference images for more control over generation.
|
| 297 |
-
""")
|
| 298 |
|
| 299 |
# Update prompt when mode changes
|
| 300 |
mode_radio.change(
|
|
|
|
| 236 |
return video_path, current_seed
|
| 237 |
|
| 238 |
with gr.Blocks() as demo:
|
| 239 |
+
gr.Markdown("# Fast Wan 2.1 VACE (14B)")
|
| 240 |
+
gr.Markdown("Using [Wan2.1-VACE-14B](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B-diffusers) with [Phantom FusionX LoRA](https://huggingface.co/vrgamedevgirl84/Wan14BT2VFusioniX) for fast video generation with multiple conditions")
|
| 241 |
|
| 242 |
with gr.Row():
|
| 243 |
with gr.Column():
|
|
|
|
| 286 |
|
| 287 |
with gr.Column():
|
| 288 |
video_output = gr.Video(label="Generated Video", autoplay=True, interactive=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 289 |
|
| 290 |
# Update prompt when mode changes
|
| 291 |
mode_radio.change(
|