Skip to content

Commit 369069b

Browse files
committed
adjusted the error message
1 parent 5d3828f commit 369069b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker_huggingface_inference_toolkit/decoder_encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def decode_csv(string_like): # type: (str) -> np.array
4747
# detects if the incoming csv has headers
4848
if not any(header in string_like.splitlines()[0].lower() for header in ["question", "context", "inputs"]):
4949
raise PredictionException(
50-
f"You need to provide as CSV with Header columns to use it with the inference toolkit default handler.",
50+
f"You need to provide the correct CSV with Header columns to use it with the inference toolkit default handler.",
5151
400,
5252
)
5353
# reads csv as io

0 commit comments

Comments
 (0)