Spaces:
Running
Running
tokenizer => vocabulary
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ print('Tokenizing using dictionary from {}'.format(vocab_path))
|
|
27 |
with open(vocab_path, 'r') as f:
|
28 |
vocabulary = json.load(f)
|
29 |
|
30 |
-
st = SentenceTokenizer(
|
31 |
|
32 |
model = torchmoji_emojis(model_path)
|
33 |
|
|
|
27 |
with open(vocab_path, 'r') as f:
|
28 |
vocabulary = json.load(f)
|
29 |
|
30 |
+
st = SentenceTokenizer(vocabulary, maxlen)
|
31 |
|
32 |
model = torchmoji_emojis(model_path)
|
33 |
|