Update README.md
Browse files
README.md
CHANGED
@@ -60,9 +60,9 @@ def generate_video_from_image(
|
|
60 |
pipe.load_lora_weights(
|
61 |
lora_path,
|
62 |
weight_name="pytorch_lora_weights.safetensors",
|
63 |
-
adapter_name="
|
64 |
)
|
65 |
-
pipe.set_adapters("
|
66 |
pipe.to("cuda")
|
67 |
# Prepare the image and prompt
|
68 |
image = load_image(image_path).resize((width, height))
|
|
|
60 |
pipe.load_lora_weights(
|
61 |
lora_path,
|
62 |
weight_name="pytorch_lora_weights.safetensors",
|
63 |
+
adapter_name="crashmodel"
|
64 |
)
|
65 |
+
pipe.set_adapters("crashmodel", lora_weight)
|
66 |
pipe.to("cuda")
|
67 |
# Prepare the image and prompt
|
68 |
image = load_image(image_path).resize((width, height))
|