efeperro commited on
Commit
fc87a16
·
verified ·
1 Parent(s): 190d9af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
2
  from functions_preprocess import LinguisticPreprocessor, download_if_non_existent, CNN
3
  import pickle
4
  import nltk
 
5
  nltk.download('stopwords')
6
  nltk.download('punkt')
7
  download_if_non_existent('corpora/stopwords', 'stopwords')
 
2
  from functions_preprocess import LinguisticPreprocessor, download_if_non_existent, CNN
3
  import pickle
4
  import nltk
5
+ import torch
6
  nltk.download('stopwords')
7
  nltk.download('punkt')
8
  download_if_non_existent('corpora/stopwords', 'stopwords')