Update README.md
Browse files
README.md
CHANGED
@@ -116,7 +116,13 @@ Use the code below to get started with the model.
|
|
116 |
<summary> Click to expand </summary>
|
117 |
|
118 |
```python
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
```
|
121 |
|
122 |
</details>
|
|
|
116 |
<summary> Click to expand </summary>
|
117 |
|
118 |
```python
|
119 |
+
from skops.hub_utils import download
|
120 |
+
from skops.io import load
|
121 |
+
|
122 |
+
download("brendenc/Fish-Weight", "path_to_folder")
|
123 |
+
# make sure model file is in skops format
|
124 |
+
# if model is a pickle file, make sure it's from a source you trust
|
125 |
+
model = load("path_to_folder/example.pkl")
|
126 |
```
|
127 |
|
128 |
</details>
|