Skip to content

Commit

Permalink
Merge branch 'main' into fix-clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-be authored Aug 18, 2024
2 parents ccb745a + 8802997 commit 3350b40
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 3350b40

Please sign in to comment.