Skip to content

Commit 62dd6ac

Browse files
authored
fix typo
1 parent 87d42cf commit 62dd6ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/huggingface_inference_toolkit/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __call__(self, data: Dict[str, Any]) -> Dict[str, Any]:
3838

3939
# diffusers and sentence transformers pipelines do not have the `task` arg
4040
if not hasattr(self.pipeline, "task"):
41-
# sentence transformers paramters not supported yet
41+
# sentence transformers parameters not supported yet
4242
if any(isinstance(self.pipeline, v) for v in SENTENCE_TRANSFORMERS_TASKS.values()):
4343
return ( # type: ignore
4444
self.pipeline(**inputs) if isinstance(inputs, dict) else self.pipeline(inputs)

0 commit comments

Comments
 (0)