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 87d42cf commit 62dd6acCopy full SHA for 62dd6ac
src/huggingface_inference_toolkit/handler.py
@@ -38,7 +38,7 @@ def __call__(self, data: Dict[str, Any]) -> Dict[str, Any]:
38
39
# diffusers and sentence transformers pipelines do not have the `task` arg
40
if not hasattr(self.pipeline, "task"):
41
- # sentence transformers paramters not supported yet
+ # sentence transformers parameters not supported yet
42
if any(isinstance(self.pipeline, v) for v in SENTENCE_TRANSFORMERS_TASKS.values()):
43
return ( # type: ignore
44
self.pipeline(**inputs) if isinstance(inputs, dict) else self.pipeline(inputs)
0 commit comments