Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ def predict_sentiment(model, input_tokens):
|
|
| 95 |
|
| 96 |
# ++++
|
| 97 |
# Gala
|
| 98 |
-
with open('
|
| 99 |
vocab_to_int = json.load(fp)
|
| 100 |
|
| 101 |
|
|
|
|
| 95 |
|
| 96 |
# ++++
|
| 97 |
# Gala
|
| 98 |
+
with open('vocab_to_int.json', 'r') as fp:
|
| 99 |
vocab_to_int = json.load(fp)
|
| 100 |
|
| 101 |
|