Update lstm text generation example (#11038)
Update lstm text generation example (#11038)

* Update lstm_text_generation.py

unused args in **on_epoch_end** removed and softmax activation layer replace with args in dense layer.

* Update lstm_text_generation.py

keras-team/keras,keras-team/keras