Hi, when following the tutorial, I changed the name of the index_to_word mapping and got a NameError error in the simple_gen method. I thought perhaps it could be the missing self keyword, and without itindex_to_word was just scoped from global. Here's a PR just in case. Thanks.
Hi, when following the tutorial, I changed the name of the
index_to_word
mapping and got aNameError
error in thesimple_gen
method. I thought perhaps it could be the missingself
keyword, and without itindex_to_word
was just scoped from global. Here's a PR just in case. Thanks.