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:
424
424
You can also bring in external dependencies to help with your data
425
425
processing. There are 2 ways to do this:
426
426
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 ``:
429
428
430
429
.. code ::
431
430
432
431
from sagemaker.tensorflow.serving import Model
433
432
434
433
model = Model(entry_point='inference.py',
435
- dependencies=['requirements.txt'] ,
434
+ source_dir='source/directory' ,
436
435
model_data='s3://mybucket/model.tar.gz',
437
436
role='MySageMakerRole')
438
437
You can’t perform that action at this time.
0 commit comments