Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrl committed Feb 28, 2024
1 parent 5695c9f commit 8c0a786
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion haystack/components/routers/zero_shot_text_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@

with LazyImport(message="Run 'pip install transformers[torch,sentencepiece]'") as torch_and_transformers_import:
from transformers import pipeline
from haystack.utils.hf import resolve_hf_pipeline_kwargs, serialize_hf_model_kwargs, deserialize_hf_model_kwargs
from haystack.utils.hf import ( # pylint: disable=ungrouped-imports
resolve_hf_pipeline_kwargs,
serialize_hf_model_kwargs,
deserialize_hf_model_kwargs,
)


@component
Expand Down

0 comments on commit 8c0a786

Please sign in to comment.