Update text_generation.ipynb
Update text_generation.ipynb

We must divide by (seq_length+1) since char_dataset is broken into sequences of length (seq_length+1) not of length seq_length.
tensorflow/docs,tensorflow/docs,tensorflow/docs