ovi054 commited on
Commit
43ce188
·
verified ·
1 Parent(s): 62f540c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ import spaces
11
  device = "cuda" if torch.cuda.is_available() else "cpu"
12
 
13
  # --- MODEL SETUP ---
14
- model_id = "Wan-AI/Wan2.1-T2V-14B-Diffusers"
15
  vae = AutoencoderKLWan.from_pretrained(model_id, subfolder="vae", torch_dtype=torch.float32)
16
  pipe = WanPipeline.from_pretrained(model_id, vae=vae, torch_dtype=torch.bfloat16)
17
  flow_shift = 1.0
 
11
  device = "cuda" if torch.cuda.is_available() else "cpu"
12
 
13
  # --- MODEL SETUP ---
14
+ model_id = "Wan-AI/Wan2.2-T2V-A14B-Diffusers"
15
  vae = AutoencoderKLWan.from_pretrained(model_id, subfolder="vae", torch_dtype=torch.float32)
16
  pipe = WanPipeline.from_pretrained(model_id, vae=vae, torch_dtype=torch.bfloat16)
17
  flow_shift = 1.0