From 8802997c5f8cd0893787ed9f7431ba6596cb9e7b Mon Sep 17 00:00:00 2001 From: "Ibrahim Ahmad (feyroozecode)" <43380715+feyroozecode@users.noreply.github.com> Date: Sun, 18 Aug 2024 01:34:54 -0700 Subject: [PATCH] Update Docs (#448) the outpiout is in french not Spanish Co-authored-by: guillaume-be --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ec95bfb..2fd91270 100644 --- a/README.md +++ b/README.md @@ -286,7 +286,7 @@ let model = TranslationModelBuilder::new() .with_target_languages(vec![Language::Spanish, Language::French, Language::Italian]) .create_model()?; let input_text = "This is a sentence to be translated"; - let output = model.translate(&[input_text], None, Language::Spanish)?; + let output = model.translate(&[input_text], None, Language::French)?; for sentence in output { println!("{}", sentence); }