Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples)
|
|
| 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/{jobname}"))
|
| 119 |
-
return Molecule3D(f"{jobname}/boltz_results_{jobname}/predictions/{jobname}/{jobname}_model_0.
|
| 120 |
except Exception as e:
|
| 121 |
raise gr.Error(f"failed with error:{e}")
|
| 122 |
|
|
|
|
| 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/{jobname}"))
|
| 119 |
+
return Molecule3D(f"{jobname}/boltz_results_{jobname}/predictions/{jobname}/{jobname}_model_0.pdb", label="Output", reps=representations)
|
| 120 |
except Exception as e:
|
| 121 |
raise gr.Error(f"failed with error:{e}")
|
| 122 |
|