<commit_before>from flask import Flask, render_template
import json

app = Flask(__name__)
app.debug = True
resume_path = 'data/resume.json'


def read_resume(resume_path=resume_path):
    return json.load(open(resume_path))


@app.route('/')
def show_resume():
    return render_template('compact.html', r=read_resume())


if __name__ == '__main__':
    app.run()<commit_msg>set debug to false, by default.<commit_after>from flask import Flask, render_template
import json

app = Flask(__name__)
app.debug = False
resume_path = 'data/resume.json'


def read_resume(resume_path=resume_path):
    return json.load(open(resume_path))


@app.route('/')
def show_resume():
    return render_template('compact.html', r=read_resume())


if __name__ == '__main__':
    app.run()
{'fraction_non_alphanumeric': 0.13229571984435798, 'fraction_numerical': 0.0, 'mean_word_length': 5.380165289256198, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2568791', 'n_tokens_mistral': 265, 'n_tokens_neox': 270, 'n_words': 58}