Skip to content

Commit

Permalink
Update Docs (#448)
Browse files Browse the repository at this point in the history
the outpiout is in french not Spanish

Co-authored-by: guillaume-be <[email protected]>
  • Loading branch information
feyroozecode and guillaume-be authored Aug 18, 2024
1 parent 33b2944 commit 8802997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8802997

Please sign in to comment.