NLP-with-Python icon indicating copy to clipboard operation
NLP-with-Python copied to clipboard

string object has no attribute desc

Open shantanuo opened this issue 5 years ago • 0 comments

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

shantanuo avatar Apr 28 '19 13:04 shantanuo