<commit_before>from flask import Flask
from flask import render_template
app = Flask(__name__)

@app.route('/')
def landing():
	return render_template('nombase.html', state="")

@app.route('/<r>')
def recipe(r):
	return render_template('nombase.html', state=("/"+r))


if __name__ == "__main__":
	app.run()<commit_msg>Updated with heroku needed additions.<commit_after>import os

from flask import Flask
from flask import render_template
app = Flask(__name__)

@app.route('/')
def landing():
	return render_template('nombase.html', state="")

@app.route('/<r>')
def recipe(r):
	return render_template('nombase.html', state=("/"+r))


if __name__ == "__main__":
	 # Bind to PORT if defined, otherwise default to 5000.
    port = int(os.environ.get('PORT', 5000))
    app.run(host='0.0.0.0', port=port)
{'fraction_non_alphanumeric': 0.1725, 'fraction_numerical': 0.015, 'mean_word_length': 5.512195121951219, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1236920', 'n_tokens_mistral': 284, 'n_tokens_neox': 272, 'n_words': 70}