nishantguvvada commited on
Commit
572aec8
1 Parent(s): d7c1b19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,8 +65,8 @@ def standardize(inputs):
65
  )
66
 
67
  # Choose the most frequent words from the vocabulary & remove punctuation etc.
68
- file = open('./tokenizer_vocab.txt', 'rb')
69
- tokenizer = pickle.load(file)
70
 
71
 
72
  # Lookup table: Word -> Index
 
65
  )
66
 
67
  # Choose the most frequent words from the vocabulary & remove punctuation etc.
68
+ vocab = open('./tokenizer_vocab.txt', 'rb')
69
+ tokenizer = pickle.load(vocab)
70
 
71
 
72
  # Lookup table: Word -> Index