Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,8 +115,8 @@ def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples)
|
|
| 115 |
|
| 116 |
os.system(f"boltz predict {jobname}/{jobname}.yaml --use_msa_server --out_dir {jobname} --recycling_steps {recycling_steps} --sampling_steps {sampling_steps} --diffusion_samples {diffusion_samples} --override --output_format pdb")
|
| 117 |
print(os.listdir(jobname))
|
| 118 |
-
print(os.listdir(f"{jobname}/boltz_results_{jobname}/predictions/
|
| 119 |
-
return Molecule3D(f"{jobname}/boltz_results_{jobname}/predictions/{jobname}
|
| 120 |
except Exception as e:
|
| 121 |
raise gr.Error(f"failed with error:{e}")
|
| 122 |
|
|
|
|
| 115 |
|
| 116 |
os.system(f"boltz predict {jobname}/{jobname}.yaml --use_msa_server --out_dir {jobname} --recycling_steps {recycling_steps} --sampling_steps {sampling_steps} --diffusion_samples {diffusion_samples} --override --output_format pdb")
|
| 117 |
print(os.listdir(jobname))
|
| 118 |
+
print(os.listdir(f"{jobname}/boltz_results_{jobname}/predictions/"))
|
| 119 |
+
return Molecule3D(f"{jobname}/boltz_results_{jobname}/predictions/{jobname}_model_0.cif", label="Output", reps=representations)
|
| 120 |
except Exception as e:
|
| 121 |
raise gr.Error(f"failed with error:{e}")
|
| 122 |
|