Himanshusingh
commited on
Commit
•
062e6a2
1
Parent(s):
645c754
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import nltk
|
|
3 |
import pandas as pd
|
4 |
from transformers import pipeline
|
5 |
|
|
|
|
|
6 |
summarizer = pipeline('summarization', model='t5-base')
|
7 |
|
8 |
# classifier_model_name = 'bhadresh-savani/distilbert-base-uncased-emotion'
|
|
|
3 |
import pandas as pd
|
4 |
from transformers import pipeline
|
5 |
|
6 |
+
nltk.download('punkt')
|
7 |
+
|
8 |
summarizer = pipeline('summarization', model='t5-base')
|
9 |
|
10 |
# classifier_model_name = 'bhadresh-savani/distilbert-base-uncased-emotion'
|