We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 270489b commit 299d6cbCopy full SHA for 299d6cb
src/sagemaker_pytorch_serving_container/torchserve.py
@@ -70,7 +70,7 @@ def start_torchserve(handler_service=DEFAULT_HANDLER_SERVICE):
70
"""
71
72
if ENABLE_MULTI_MODEL:
73
- if not os.getenv("SAGEMAKER_HANDLER"):
+ if "SAGEMAKER_HANDLER" not in os.environ:
74
os.environ["SAGEMAKER_HANDLER"] = handler_service
75
_set_python_path()
76
else:
0 commit comments