recoilme commited on
Commit
4bc6c68
·
verified ·
1 Parent(s): 12ab6ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -12,6 +12,7 @@ MODEL_ID = "AiArtLab/simplevae2x"
12
  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, "vae5"):
17
  try:
 
12
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
13
  DTYPE = torch.float16
14
 
15
+
16
  def load_vae(model_id=MODEL_ID, device=DEVICE):
17
  for attempt in (None, "vae5"):
18
  try: