Skip to content

Commit

Permalink
Update src/huggingface_hub/inference/_generated/_async_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin authored Nov 28, 2023
1 parent 6996117 commit b7ccf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/inference/_generated/_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ async def translation(
Specifying languages:
```py
>>> client.translation("My name is Sarah Jessica Parker but you can call me Jessica", model="facebook/mbart-large-50-many-to-many-mmt", "src_lang="en_XX", tgt_lang="fr_XX")
>>> client.translation("My name is Sarah Jessica Parker but you can call me Jessica", model="facebook/mbart-large-50-many-to-many-mmt", src_lang="en_XX", tgt_lang="fr_XX")
"Mon nom est Sarah Jessica Parker mais vous pouvez m\'appeler Jessica"
```
"""
Expand Down

0 comments on commit b7ccf9a

Please sign in to comment.