From b7ccf9a0b71396de6984f6fb29c5b91fad823d90 Mon Sep 17 00:00:00 2001 From: Lucain Date: Tue, 28 Nov 2023 14:40:12 +0100 Subject: [PATCH] Update src/huggingface_hub/inference/_generated/_async_client.py --- src/huggingface_hub/inference/_generated/_async_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/huggingface_hub/inference/_generated/_async_client.py b/src/huggingface_hub/inference/_generated/_async_client.py index 3c0e8e9f94..67a6128b81 100644 --- a/src/huggingface_hub/inference/_generated/_async_client.py +++ b/src/huggingface_hub/inference/_generated/_async_client.py @@ -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" ``` """