Skip to content

Commit c3dab40

Browse files
committed
Update models documentation
(cherry picked from commit 94f6ddb)
1 parent 9518b51 commit c3dab40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/deployments/realtime-api/models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ The `load_model()` function that you implement in your `PythonPredictor` can ret
200200

201201
Python data structures containing these types are also supported (e.g. lists and dicts).
202202

203-
The `load_model()` function takes a single argument, with is a path (on disk) to the model to be loaded. It is called behind the scenes when you call the `python_client`'s `get_model()` method from your predictor's `predict()` method. Whatever `load_model()` returns will be the exact return value of `python_client.get_model()`. Here is the schema for `python_client.get_model()`:
203+
The `load_model()` function takes a single argument, which is a path (on disk) to the model to be loaded. Your `load_model()` function is called behind the scenes by Cortex when you call the `python_client`'s `get_model()` method. Cortex is responsible for downloading your model from S3 onto the local disk before calling `load_model()` with the local path. Whatever `load_model()` returns will be the exact return value of `python_client.get_model()`. Here is the schema for `python_client.get_model()`:
204204

205205
```python
206206
def get_model(model_name, model_version):

0 commit comments

Comments
 (0)