ZhiyuanChen commited on
Commit
a5472da
·
verified ·
1 Parent(s): a43876b

Use pipeline-first OFoldX usage

Browse files
Files changed (1) hide show
  1. README.md +5 -0
README.md CHANGED
@@ -101,6 +101,11 @@ pip install ofoldx
101
  Load the artifact from `oteam/proteinmpnn-membrane-per-residue-noise020` using the OFoldX `Auto*` interface:
102
 
103
  ```python
 
 
 
 
 
104
  from ofoldx import AutoModel
105
 
106
  model = AutoModel.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
 
101
  Load the artifact from `oteam/proteinmpnn-membrane-per-residue-noise020` using the OFoldX `Auto*` interface:
102
 
103
  ```python
104
+ from ofoldx.pipelines import Pipeline
105
+
106
+ pipeline = Pipeline.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")
107
+ output = pipeline(...)
108
+
109
  from ofoldx import AutoModel
110
 
111
  model = AutoModel.from_pretrained("oteam/proteinmpnn-membrane-per-residue-noise020")