<commit_before>from flask import Flask
from config import config

print config

# create Flask application
app = Flask(__name__)

@app.route('/')
def index():
    return 'Here we come'

if __name__ == '__main__':
    app.run()<commit_msg>loading and creating app configuration<commit_after>#!/usr/bin/env python
import os

from app import create_app

app = create_app(os.getenv('APP_CONFIG') or 'default')

print app

if __name__ == '__main__':
    app.run()
{'fraction_non_alphanumeric': 0.11572052401746726, 'fraction_numerical': 0.0, 'mean_word_length': 4.7375, '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': '2420808', 'n_tokens_mistral': 152, 'n_tokens_neox': 149, 'n_words': 47}