J Z commited on
Update IV2Img2Vid.py
Browse files- IV2Img2Vid.py +1 -1
IV2Img2Vid.py
CHANGED
|
@@ -7,7 +7,7 @@ pipeline = I2VGenXLPipeline.from_pretrained("ali-vilab/i2vgen-xl", torch_dtype=t
|
|
| 7 |
pipeline.enable_model_cpu_offload()
|
| 8 |
|
| 9 |
# Load a local image
|
| 10 |
-
image_path =
|
| 11 |
image = Image.open(image_path).convert("RGB")
|
| 12 |
prompt = "Charles Darwin stands up from chair, realistic"
|
| 13 |
negative_prompt = "Distorted, discontinuous, Ugly, blurry, low resolution, motionless, static, disfigured, disconnected limbs, Ugly faces, incomplete arms"
|
|
|
|
| 7 |
pipeline.enable_model_cpu_offload()
|
| 8 |
|
| 9 |
# Load a local image
|
| 10 |
+
image_path = "darwin1.png"
|
| 11 |
image = Image.open(image_path).convert("RGB")
|
| 12 |
prompt = "Charles Darwin stands up from chair, realistic"
|
| 13 |
negative_prompt = "Distorted, discontinuous, Ugly, blurry, low resolution, motionless, static, disfigured, disconnected limbs, Ugly faces, incomplete arms"
|