NLP-with-Python
NLP-with-Python copied to clipboard
string object has no attribute desc
I tried the github code as explained in this article... https://towardsdatascience.com/automatically-generate-hotel-descriptions-with-lstm-afa37002d4fc?source=rss----7f60cf5620c9---4
But got an error in the last cell: print(generate_text("hilton seattle downtown", 100, model, max_sequence_len)) AttributeError: 'str' object has no attribute 'desc'
All lines on this page except the last line works as expected: https://github.com/susanli2016/NLP-with-Python/blob/master/Hotel%20Description%20Generation%20LSTM.ipynb