Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/sagemaker/tensorflow/deploying_tensorflow_serving.rst
Original file line number Diff line number Diff line change
Expand Up @@ -424,15 +424,14 @@ in the following code:
You can also bring in external dependencies to help with your data
processing. There are 2 ways to do this:

1. If you included ``requirements.txt`` in your ``source_dir`` or in
your dependencies, the container installs the Python dependencies at runtime using ``pip install -r``:
1. If you included ``requirements.txt`` in your ``source_dir``, the container installs the Python dependencies at runtime using ``pip install -r``:

.. code::

from sagemaker.tensorflow.serving import Model

model = Model(entry_point='inference.py',
dependencies=['requirements.txt'],
source_dir='source/directory',
model_data='s3://mybucket/model.tar.gz',
role='MySageMakerRole')

Expand Down