Spaces:
Running
on
L4
Running
on
L4
simonduerr
commited on
Commit
•
5ff04d4
1
Parent(s):
bff3320
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import urllib.request
|
|
11 |
CCD_URL = "https://huggingface.co/boltz-community/boltz-1/resolve/main/ccd.pkl"
|
12 |
MODEL_URL = "https://huggingface.co/boltz-community/boltz-1/resolve/main/boltz1.ckpt"
|
13 |
|
14 |
-
cache = "
|
15 |
|
16 |
os.makedirs(cache)
|
17 |
|
@@ -36,7 +36,7 @@ if not os.path.exists(model):
|
|
36 |
def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples):
|
37 |
|
38 |
os.system("boltz predict ligand.fasta --output_format pdb")
|
39 |
-
return "boltz_results_ligand/predictions/ligand/ligand_model_0.
|
40 |
|
41 |
with gr.Blocks() as blocks:
|
42 |
gr.Markdown("# Boltz-1")
|
|
|
11 |
CCD_URL = "https://huggingface.co/boltz-community/boltz-1/resolve/main/ccd.pkl"
|
12 |
MODEL_URL = "https://huggingface.co/boltz-community/boltz-1/resolve/main/boltz1.ckpt"
|
13 |
|
14 |
+
cache = "/home/user/.boltz"
|
15 |
|
16 |
os.makedirs(cache)
|
17 |
|
|
|
36 |
def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples):
|
37 |
|
38 |
os.system("boltz predict ligand.fasta --output_format pdb")
|
39 |
+
return "boltz_results_ligand/predictions/ligand/ligand_model_0.pdb"
|
40 |
|
41 |
with gr.Blocks() as blocks:
|
42 |
gr.Markdown("# Boltz-1")
|