Update README.md
Browse files
README.md
CHANGED
@@ -79,7 +79,7 @@ Dewan Direktur IMF menyampaikan apresiasi dan catatan positif terhadap berbagai
|
|
79 |
"""
|
80 |
|
81 |
# Generate summary
|
82 |
-
x = tokenizer(text_cleaning(
|
83 |
y = model.generate(**x)
|
84 |
suummary = tokenizer.batch_decode(y, skip_special_tokens=True)
|
85 |
print(summary)
|
|
|
79 |
"""
|
80 |
|
81 |
# Generate summary
|
82 |
+
x = tokenizer(text_cleaning(sample_article), return_tensors = 'tf')
|
83 |
y = model.generate(**x)
|
84 |
suummary = tokenizer.batch_decode(y, skip_special_tokens=True)
|
85 |
print(summary)
|