From b32a9946e90ac3522faf2f3f39b3f07490d7879f Mon Sep 17 00:00:00 2001 From: Nidhal Baccouri Date: Wed, 28 Jun 2023 21:18:46 +0200 Subject: [PATCH] fixed readme --- docs/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.rst b/docs/README.rst index 5667627..a531b53 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -685,7 +685,7 @@ BaiduTranslator - Translate batch of texts .. code-block:: python -= + texts = ["Hello world", "How are you?"] translated = BaiduTranslator(appid="your-appid", appkey="your-appkey" source="en", target="zh").translate_batch(texts) @@ -715,7 +715,7 @@ BaiduTranslator - Translate batch of texts .. code-block:: python -= + texts = ["Hello world", "How are you?"] translated = BaiduTranslator(appid="your-appid", appkey="your-appkey" source="en", target="zh").translate_batch(texts)