multimodalart HF Staff commited on
Commit
d905c0e
·
verified ·
1 Parent(s): e23cd28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -35,6 +35,8 @@ hf_hub_download_local(repo_id="Kijai/WanVideo_comfy", filename="Wan22-Lightning/
35
  hf_hub_download_local(repo_id="Kijai/WanVideo_comfy", filename="Wan22-Lightning/Wan2.2-Lightning_I2V-A14B-4steps-lora_LOW_fp16.safetensors", local_dir="models/loras")
36
  print("Downloads complete.")
37
 
 
 
38
  # --- Image Processing Functions ---
39
  def calculate_video_dimensions(width, height, max_size=832, min_size=480):
40
  """
 
35
  hf_hub_download_local(repo_id="Kijai/WanVideo_comfy", filename="Wan22-Lightning/Wan2.2-Lightning_I2V-A14B-4steps-lora_LOW_fp16.safetensors", local_dir="models/loras")
36
  print("Downloads complete.")
37
 
38
+ model_management.vram_state = model_management.VRAMState.HIGH_VRAM
39
+
40
  # --- Image Processing Functions ---
41
  def calculate_video_dimensions(width, height, max_size=832, min_size=480):
42
  """