efeperro commited on
Commit
c835c04
Β·
verified Β·
1 Parent(s): 29d688f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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.")