remove generate from text demo