recoilme commited on
Commit
ca5d1b2
·
verified ·
1 Parent(s): 833dae6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
13
  DTYPE = torch.float16
14
 
15
  def load_vae(model_id=MODEL_ID, device=DEVICE):
16
- for attempt in (None, "vae4"):
17
  try:
18
  if attempt is None:
19
  vae = AsymmetricAutoencoderKL.from_pretrained(model_id, torch_dtype=DTYPE)
 
13
  DTYPE = torch.float16
14
 
15
  def load_vae(model_id=MODEL_ID, device=DEVICE):
16
+ for attempt in (None, "vae5"):
17
  try:
18
  if attempt is None:
19
  vae = AsymmetricAutoencoderKL.from_pretrained(model_id, torch_dtype=DTYPE)