small caching gen change

This commit is contained in:
Nick Walton
2019-04-09 01:32:10 +00:00
parent fea095a05a
commit 163fb62fc7
6 changed files with 4 additions and 1 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -1
View File
@@ -135,7 +135,10 @@ def teardown_sess(_):
sess.close()
def generate_cache():
generator = StoryGenerator(tf.Session())
prompt_num = 0
for seed in range(100):
result = retrieve_from_cache(seed, prompt_num, [], "story")
if result is not None: