Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
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
|
| 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
|
| 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 |
)
|