Skip to content

Commit 8639812

Browse files
committed
fix huggingface lint
1 parent 181601f commit 8639812

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/partners/huggingface/langchain_huggingface/embeddings/huggingface_endpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ def validate_environment(self) -> Self:
7777
client = InferenceClient(
7878
model=self.model,
7979
token=huggingfacehub_api_token,
80-
provider=self.provider,
80+
provider=self.provider, # type: ignore[arg-type]
8181
)
8282

8383
async_client = AsyncInferenceClient(
8484
model=self.model,
8585
token=huggingfacehub_api_token,
86-
provider=self.provider,
86+
provider=self.provider, # type: ignore[arg-type]
8787
)
8888

8989
if self.task not in VALID_TASKS:

0 commit comments

Comments
 (0)