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(
124124 .. note::
125125 This is useful for installing custom libraries, downloading NLTK corpora etc.
126126 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
128128 ``model_type`` is :obj:`ModelType.custom`.
129129 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``
131131 is :obj:`ModelType.custom`.
132132 description : str, default None
133133 Commit message for this version.
You can’t perform that action at this time.
0 commit comments