<commit_before>from flask import Flask
from flask_login import LoginManager
from flask_sqlalchemy import 
import os

appname = "Vainglorious Meta"
app = Flask(__name__)
db = SQLAlchemy(app)
login_manager = LoginManager()
login_manager.init_app(app)

app.config.from_object(os.environ.get("CONFIG_KEY"))

# app.config.from_object('config.ProductionConfig')
# app.config.from_envvar('YOURAPPLICATION_SETTINGS  ')
app.secret_key = 'anotherplaintextpasswordftw'

import models, views

#
# @app.teardown_request
# def teardown_request(exception=None):
#     print exception
<commit_msg>Update flask_app.py<commit_after>from flask import Flask
from flask_login import LoginManager
from flask_sqlalchemy import SQLAlchemy
import os

appname = "Vainglorious Meta"
app = Flask(__name__)
db = SQLAlchemy(app)
login_manager = LoginManager()
login_manager.init_app(app)

app.config.from_object(os.environ.get("CONFIG_KEY"))

# app.config.from_object('config.ProductionConfig')
# app.config.from_envvar('YOURAPPLICATION_SETTINGS  ')
app.secret_key = 'anotherplaintextpasswordftw'

import models, views

#
# @app.teardown_request
# def teardown_request(exception=None):
#     print exception

{'fraction_non_alphanumeric': 0.09932088285229201, 'fraction_numerical': 0.0, 'mean_word_length': 7.13103448275862, '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': '4348426', 'n_tokens_mistral': 410, 'n_tokens_neox': 391, 'n_words': 74}