<commit_before>from flask import Flask, render_template
from database_setup import User, Transaction, session

app = Flask(__name__)


@app.route('/')
@app.route('/home')
def home_page():
    transactions = session.query(Transaction).all()
    return render_template('index.xhtml',transactions=transactions)

if __name__ == '__main__':
    app.debug = True
    app.run(host='0.0.0.0', port=5000)<commit_msg>Allow access to development web server from local PC only<commit_after>from flask import Flask, render_template
from database_setup import User, Transaction, session

app = Flask(__name__)


@app.route('/')
@app.route('/home')
def home_page():
    transactions = session.query(Transaction).all()
    return render_template('index.xhtml',transactions=transactions)

if __name__ == '__main__':
    app.debug = True
    app.run(port=5000)
{'fraction_non_alphanumeric': 0.12945368171021376, 'fraction_numerical': 0.014251781472684086, 'mean_word_length': 5.386363636363637, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '266920', 'n_tokens_mistral': 266, 'n_tokens_neox': 254, 'n_words': 63}