simonduerr commited on
Commit
76c9d92
1 Parent(s): 8704b30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ MODEL_URL = "https://huggingface.co/boltz-community/boltz-1/resolve/main/boltz1.
13
 
14
  cache = "~/.boltz"
15
  ccd = f"{cache}/ccd.pkl"
16
- if not ccd.exists():
17
  print(
18
  f"Downloading the CCD dictionary to {ccd}. You may "
19
  )
@@ -21,7 +21,7 @@ if not ccd.exists():
21
 
22
  # Download model
23
  model =f"{cache}/boltz1.ckpt"
24
- if not model.exists():
25
  print(
26
  f"Downloading the model weights to {model}"
27
  )
 
13
 
14
  cache = "~/.boltz"
15
  ccd = f"{cache}/ccd.pkl"
16
+ if not os.path.exists(ccd):
17
  print(
18
  f"Downloading the CCD dictionary to {ccd}. You may "
19
  )
 
21
 
22
  # Download model
23
  model =f"{cache}/boltz1.ckpt"
24
+ if not os.path.exists(model):
25
  print(
26
  f"Downloading the model weights to {model}"
27
  )