Skip to content

Commit 7a53130

Browse files
committed
Updated pr.
1 parent d6b6b42 commit 7a53130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/model/deployment/model_deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ def predict(
893893
current_state = self.sync().lifecycle_state
894894
if current_state != "ACTIVE":
895895
raise ModelDeploymentPredictError(
896-
f"Predict() can't be called when model deployment is in {current_state} state. "
896+
f"Predict() can't be called when model deployment is `{current_state}`. "
897897
"Make sure model deployment is `ACTIVE` before calling predict."
898898
)
899899
endpoint = f"{self.url}/predict"

0 commit comments

Comments
 (0)