Skip to content

Commit

Permalink
added doc info for custom_image
Browse files Browse the repository at this point in the history
  • Loading branch information
emches committed Apr 26, 2017
1 parent 756e6a0 commit c30164f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yhat/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,8 @@ def deploy(self, name, model, session, sure=False, packages=[], patch=None, dry_
autodetect: flag for using the requirement auto-detection feature.
if False, you should explicitly state the packages required for
your model, or it may not run on the server.
custom_image: string
Docker image to be used with this model (optional)
"""
# first let's check and make sure the user actually wants to deploy
# a new version
Expand Down Expand Up @@ -488,6 +490,8 @@ def deploy_tensorflow(self, name, model, session, sess, sure=False, packages=[],
autodetect: flag for using the requirement auto-detection feature.
if False, you should explicitly state the packages required for
your model, or it may not run on the server.
custom_image: string
Docker image to be used with this model (optional)
"""

try:
Expand Down

0 comments on commit c30164f

Please sign in to comment.