simonduerr commited on
Commit
5ff04d4
1 Parent(s): bff3320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = "~/.boltz"
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.cif"
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")