Skip to content

Commit 02445ba

Browse files
committed
update w/ fstring
1 parent d993da0 commit 02445ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/image_uris.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def retrieve(
128128
if framework == HUGGING_FACE_FRAMEWORK:
129129
inference_tool = _get_inference_tool(inference_tool, instance_type)
130130
if inference_tool == "neuron":
131-
_framework = "{}-{}".format(framework, inference_tool)
131+
_framework = f"{framework}-{inference_tool}"
132132
config = _config_for_framework_and_scope(_framework, image_scope, accelerator_type)
133133
elif framework == HUGGING_FACE_FRAMEWORK:
134134
config = _config_for_framework_and_scope(

0 commit comments

Comments
 (0)