Skip to content

Commit 51f311e

Browse files
committed
Improve docs
1 parent d467170 commit 51f311e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unboxapi/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)