Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ model_2 = load_cnn()
|
|
56 |
processor = LinguisticPreprocessor()
|
57 |
train_data = load_dataset('rotten_tomatoes', split='train')
|
58 |
vocab, tokenizer = build_vocab(train_data)
|
59 |
-
|
60 |
|
61 |
############################################################# Text input
|
62 |
|
@@ -86,5 +86,4 @@ with st.expander("Model 2: CNN Sentiment analysis"):
|
|
86 |
else:
|
87 |
st.write('The sentiment is: Negative π', key='model2_negwrite')
|
88 |
|
89 |
-
st.caption("Por @efeperro.")
|
90 |
-
stop_words = set(stopwords.words('english'))
|
|
|
56 |
processor = LinguisticPreprocessor()
|
57 |
train_data = load_dataset('rotten_tomatoes', split='train')
|
58 |
vocab, tokenizer = build_vocab(train_data)
|
59 |
+
stop_words = set(stopwords.words('english'))
|
60 |
|
61 |
############################################################# Text input
|
62 |
|
|
|
86 |
else:
|
87 |
st.write('The sentiment is: Negative π', key='model2_negwrite')
|
88 |
|
89 |
+
st.caption("Por @efeperro.")
|
|