Spaces:
Running
on
Zero
Running
on
Zero
陈硕
commited on
Commit
•
13f75f3
1
Parent(s):
e6fb612
change path
Browse files- .DS_Store +0 -0
- .gitattributes +1 -0
- app.py +2 -2
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -54,9 +54,9 @@ pipe_image = CogVideoXImageToVideoPipeline.from_pretrained(
|
|
54 |
text_encoder=pipe.text_encoder,
|
55 |
torch_dtype=torch.bfloat16,
|
56 |
)
|
57 |
-
lora_path = "
|
58 |
lora_rank = 256
|
59 |
-
pipe_image.load_lora_weights(lora_path, weight_name="
|
60 |
pipe_image.fuse_lora(lora_scale=1 / lora_rank)
|
61 |
pipe_image = pipe_image.to(device)
|
62 |
|
|
|
54 |
text_encoder=pipe.text_encoder,
|
55 |
torch_dtype=torch.bfloat16,
|
56 |
)
|
57 |
+
lora_path = "wenqsun/DimensionX"
|
58 |
lora_rank = 256
|
59 |
+
pipe_image.load_lora_weights(lora_path, weight_name="orbit_left_lora_weights.safetensors", adapter_name="orbit_left")
|
60 |
pipe_image.fuse_lora(lora_scale=1 / lora_rank)
|
61 |
pipe_image = pipe_image.to(device)
|
62 |
|