File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -424,15 +424,14 @@ in the following code:
424424 You can also bring in external dependencies to help with your data
425425processing. There are 2 ways to do this:
426426
427- 1. If you included ``requirements.txt `` in your ``source_dir `` or in
428- your dependencies, the container installs the Python dependencies at runtime using ``pip install -r ``:
427+ 1. If you included ``requirements.txt `` in your ``source_dir ``, the container installs the Python dependencies at runtime using ``pip install -r ``:
429428
430429.. code ::
431430
432431 from sagemaker.tensorflow.serving import Model
433432
434433 model = Model(entry_point='inference.py',
435- dependencies=['requirements.txt'] ,
434+ source_dir='source/directory' ,
436435 model_data='s3://mybucket/model.tar.gz',
437436 role='MySageMakerRole')
438437
You can’t perform that action at this time.
0 commit comments