run the cell multiple times to get different results!
gen_length = 200 # modify the length to your preference
prime_word = ‘elaine’ # name for starting the script
DON’T MODIFY ANYTHING IN THIS CELL THAT IS BELOW THIS LINE
pad_word = helper.SPECIAL_WORDS[‘PADDING’]
generated_script = generate(trained_rnn, vocab_to_int[prime_word + ‘:’], int_to_vocab, token_dict, vocab_to_int[pad_word], gen_length)
I don’t know why this part always causes errors. Would you give me some helps? Thank you very much.