Update test.py
Browse files
test.py
CHANGED
|
@@ -5,7 +5,7 @@ from keras_self_attention import SeqSelfAttention
|
|
| 5 |
from model_settings import *
|
| 6 |
|
| 7 |
|
| 8 |
-
with open(
|
| 9 |
lines = [x.rstrip("\n") for x in f.readlines()]
|
| 10 |
|
| 11 |
tokenizer = Tokenizer() # a tokenizer is a thing to split text into words, it might have some other stuff like making all the letters lowercase, etc.
|
|
|
|
| 5 |
from model_settings import *
|
| 6 |
|
| 7 |
|
| 8 |
+
with open(responses_file, "r") as f:
|
| 9 |
lines = [x.rstrip("\n") for x in f.readlines()]
|
| 10 |
|
| 11 |
tokenizer = Tokenizer() # a tokenizer is a thing to split text into words, it might have some other stuff like making all the letters lowercase, etc.
|