def PUT(self): ans = [] title = web.input() ans = dis.calc(title) web.output("Heckles!") return ans
def return_sentiment(songtitle): ans = dis.calc(songtitle) k = dict(ans) return '%s' % (json.dumps(k))