Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ pipe.fuse_lora(adapter_names=["phantom"], lora_scale=3., components=["transforme
|
|
74 |
pipe.fuse_lora(adapter_names=["phantom_2"], lora_scale=1., components=["transformer_2"])
|
75 |
pipe.unload_lora_weights()
|
76 |
|
77 |
-
for i in range(
|
78 |
gc.collect()
|
79 |
torch.cuda.synchronize()
|
80 |
torch.cuda.empty_cache()
|
@@ -243,11 +243,6 @@ with gr.Blocks() as demo:
|
|
243 |
"wan_i2v_input.JPG",
|
244 |
"Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside.",
|
245 |
],
|
246 |
-
[
|
247 |
-
"wan22_input_2.jpg",
|
248 |
-
"A sleek lunar vehicle glides into view from left to right, kicking up moon dust as astronauts in white spacesuits hop aboard with characteristic lunar bouncing movements. In the distant background, a VTOL craft descends straight down and lands silently on the surface. Throughout the entire scene, ethereal aurora borealis ribbons dance across the star-filled sky, casting shimmering curtains of green, blue, and purple light that bathe the lunar landscape in an otherworldly, magical glow.",
|
249 |
-
|
250 |
-
],
|
251 |
],
|
252 |
inputs=[input_image_component, prompt_input], outputs=[video_output, seed_input], fn=generate_video, cache_examples="lazy"
|
253 |
)
|
|
|
74 |
pipe.fuse_lora(adapter_names=["phantom_2"], lora_scale=1., components=["transformer_2"])
|
75 |
pipe.unload_lora_weights()
|
76 |
|
77 |
+
for i in range(3):
|
78 |
gc.collect()
|
79 |
torch.cuda.synchronize()
|
80 |
torch.cuda.empty_cache()
|
|
|
243 |
"wan_i2v_input.JPG",
|
244 |
"Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside.",
|
245 |
],
|
|
|
|
|
|
|
|
|
|
|
246 |
],
|
247 |
inputs=[input_image_component, prompt_input], outputs=[video_output, seed_input], fn=generate_video, cache_examples="lazy"
|
248 |
)
|