recoilme commited on
Commit
f75359d
·
verified ·
1 Parent(s): fdbe333

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -12,7 +12,6 @@ MODEL_ID = "AiArtLab/simplevae2x"
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, "vae4"):
18
  try:
 
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, "vae4"):
17
  try: