Spaces:
Sleeping
Sleeping
nishantguvvada
commited on
Commit
•
572aec8
1
Parent(s):
d7c1b19
Update app.py
Browse files
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 |
-
|
69 |
-
tokenizer = pickle.load(
|
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
|