Spaces:
Runtime error
Runtime error
lively06 commited on
Commit ·
e18fce5
1
Parent(s): 2b8281e
commit3
Browse files
app.py
CHANGED
|
@@ -8,6 +8,8 @@ from transformers import T5ForConditionalGeneration, T5Tokenizer
|
|
| 8 |
from difflib import SequenceMatcher
|
| 9 |
from nltk.sentiment import SentimentIntensityAnalyzer
|
| 10 |
import matplotlib.pyplot as plt
|
|
|
|
|
|
|
| 11 |
|
| 12 |
st.set_page_config(page_title="Streamlit Sentiment App", page_icon="static/res/favicon.png")
|
| 13 |
|
|
|
|
| 8 |
from difflib import SequenceMatcher
|
| 9 |
from nltk.sentiment import SentimentIntensityAnalyzer
|
| 10 |
import matplotlib.pyplot as plt
|
| 11 |
+
from nltk
|
| 12 |
+
nltk.download('vader_lexicon')
|
| 13 |
|
| 14 |
st.set_page_config(page_title="Streamlit Sentiment App", page_icon="static/res/favicon.png")
|
| 15 |
|