def annotation_results(url): annotation = reader.annotate(url) return render_template('index.html', annotation=annotation)
def to_annotate(filename): annotation = reader.annotate(filename) return render_template('index.html', annotation=annotation)