Update app.py
Browse filesse agrega nltk.download('punkt_tab')
app.py
CHANGED
@@ -12,6 +12,7 @@ import plotly.express as px
|
|
12 |
# Descargar stopwords de nltk
|
13 |
nltk.download('stopwords')
|
14 |
nltk.download('punkt')
|
|
|
15 |
|
16 |
# Cargar el pipeline de análisis de sentimientos
|
17 |
sentiment_analysis = pipeline('sentiment-analysis', model='dccuchile/bert-base-spanish-wwm-uncased')
|
|
|
12 |
# Descargar stopwords de nltk
|
13 |
nltk.download('stopwords')
|
14 |
nltk.download('punkt')
|
15 |
+
nltk.download('punkt_tab')
|
16 |
|
17 |
# Cargar el pipeline de análisis de sentimientos
|
18 |
sentiment_analysis = pipeline('sentiment-analysis', model='dccuchile/bert-base-spanish-wwm-uncased')
|