osheina commited on
Commit
6598c0b
·
verified ·
1 Parent(s): fb3b61f

Update lstm.py

Browse files
Files changed (1) hide show
  1. lstm.py +2 -0
lstm.py CHANGED
@@ -2,6 +2,8 @@ import streamlit as st
2
  import torch
3
  import re
4
  import json
 
 
5
  from nltk.corpus import stopwords
6
  from model_file import data_preprocessing, preprocess_single_string, LSTMBahdanauAttention
7
  from nltk.corpus import stopwords
 
2
  import torch
3
  import re
4
  import json
5
+ import nltk
6
+ nltk.download('stopwords')
7
  from nltk.corpus import stopwords
8
  from model_file import data_preprocessing, preprocess_single_string, LSTMBahdanauAttention
9
  from nltk.corpus import stopwords