Update app.py
Browse files
app.py
CHANGED
|
@@ -495,7 +495,7 @@ def apply_prepared_lora_state_to_pipeline():
|
|
| 495 |
existing_buffers[k].data.copy_(v.to(existing_buffers[k].device))
|
| 496 |
|
| 497 |
current_lora_key = PENDING_LORA_KEY
|
| 498 |
-
print("[LoRA] Prepared LoRA state applied to the pipeline.")
|
| 499 |
return True
|
| 500 |
|
| 501 |
# ---- REPLACE PRELOAD BLOCK START ----
|
|
@@ -650,7 +650,7 @@ def generate_video(
|
|
| 650 |
num_frames = int(duration * frame_rate) + 1
|
| 651 |
num_frames = ((num_frames - 1 + 7) // 8) * 8 + 1
|
| 652 |
|
| 653 |
-
print(f"Generating: {height}x{width}, {num_frames} frames ({duration}s), seed={current_seed}")
|
| 654 |
|
| 655 |
images = []
|
| 656 |
output_dir = Path("outputs")
|
|
|
|
| 495 |
existing_buffers[k].data.copy_(v.to(existing_buffers[k].device))
|
| 496 |
|
| 497 |
current_lora_key = PENDING_LORA_KEY
|
| 498 |
+
print("[LoRA] Prepared LoRA state applied to the pipeline."+current_lora_key)
|
| 499 |
return True
|
| 500 |
|
| 501 |
# ---- REPLACE PRELOAD BLOCK START ----
|
|
|
|
| 650 |
num_frames = int(duration * frame_rate) + 1
|
| 651 |
num_frames = ((num_frames - 1 + 7) // 8) * 8 + 1
|
| 652 |
|
| 653 |
+
print(f"Prompt:{prompt},Generating: {height}x{width}, {num_frames} frames ({duration}s), seed={current_seed},")
|
| 654 |
|
| 655 |
images = []
|
| 656 |
output_dir = Path("outputs")
|