Skip to content

Commit

Permalink
updated summarization example
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-be committed Apr 6, 2020
1 parent d9aadad commit 35fcd0b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/summarization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@ telescope — scheduled for launch in 2021 — and the European Space Agency's 2
about exoplanets like K2-18b."];

// Credits: WikiNews, CC BY 2.5 license (https://en.wikinews.org/wiki/Astronomers_find_water_vapour_in_atmosphere_of_exoplanet_K2-18b)
let output = summarization_model.summarize(&input);
for sentence in output {
println!("{:?}", sentence);
}
let output = summarization_model.summarize(&input);
for sentence in output {
println!("{:?}", sentence);
Expand Down

0 comments on commit 35fcd0b

Please sign in to comment.