Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,10 @@ def generate_summary(text):
|
|
37 |
summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
38 |
return summary
|
39 |
|
40 |
-
text_to_summarize = "Now, there is no doubt that one of the most important aspects of any Pixel phone is its camera.
|
|
|
|
|
|
|
41 |
summary = generate_summary(text_to_summarize)
|
42 |
print(summary)
|
43 |
```
|
|
|
37 |
summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
38 |
return summary
|
39 |
|
40 |
+
text_to_summarize = """Now, there is no doubt that one of the most important aspects of any Pixel phone is its camera.
|
41 |
+
And there might be good news for all camera lovers. Rumours have suggested that the Pixel 9 could come with a telephoto lens,
|
42 |
+
improving its photography capabilities even further. Google will likely continue to focus on using AI to enhance its camera performance,
|
43 |
+
in order to make sure that Pixel phones remain top contenders in the world of mobile photography."""
|
44 |
summary = generate_summary(text_to_summarize)
|
45 |
print(summary)
|
46 |
```
|