File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ def add_model(
124
124
.. note::
125
125
This is useful for installing custom libraries, downloading NLTK corpora etc.
126
126
custom_model_code : str, default None
127
- Code needed to initialize the model. Model object must be ``None`` in this case. Only applicable if your
127
+ Code needed to initialize the model. Model object must be ``None`` in this case. Required, and only applicable if your
128
128
``model_type`` is :obj:`ModelType.custom`.
129
129
dependent_dir : str, default None
130
- Path to a dir of file dependencies needed to load the model. Necessary if your ``model_type``
130
+ Path to a dir of file dependencies needed to load the model. Required if your ``model_type``
131
131
is :obj:`ModelType.custom`.
132
132
description : str, default None
133
133
Commit message for this version.
You can’t perform that action at this time.
0 commit comments