def index(): if request.method == 'GET': return send_file('index.html') data = request.form.get('text_in') if len(data) > 0: title_data = str(data) else: title_data = "" return extend(title_data, maxNumOfTokensToExtend)
def index(): if request.method == 'GET': return send_file('index.html') data = request.form.get('text') return extend(data)
def index(): if request.method == 'GET': return render_template('index.html') data = request.form.get('text_input') return extend(data)