Skip to content

Commit

Permalink
async as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Feb 13, 2025
1 parent 4218f8d commit de475fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/huggingface_hub/inference/_generated/_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1594,9 +1594,6 @@ async def question_answering(
output = QuestionAnsweringOutputElement.parse_obj(response)
return output

@_deprecate_method(
version="0.33.0", message="Use `feature_extraction` instead and compute the sentence similarity locally."
)
async def sentence_similarity(
self, sentence: str, other_sentences: List[str], *, model: Optional[str] = None
) -> List[float]:
Expand Down

0 comments on commit de475fa

Please sign in to comment.