<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from werkzeug.wsgi import DispatcherMiddleware

from flask import Flask

from apps import frontend 
from apps import api

app = Flask(__name__)

# This allows for nice URL segmenting and abstraction layers.
app.wsgi_app = DispatcherMiddleware(frontend.create_app(), {
    '/api': api.create_app()
})

if __name__ == '__main__':
    app.run(host='127.0.0.1', port=8080, debug=True)<commit_msg>Changed frontend to main to get things to work.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from werkzeug.wsgi import DispatcherMiddleware

from flask import Flask

from apps import main 
from apps import api

app = Flask(__name__)

# This allows for nice URL segmenting and abstraction layers.
app.wsgi_app = DispatcherMiddleware(main.create_app(), {
    '/api': api.create_app()
})

if __name__ == '__main__':
    app.run(host='127.0.0.1', port=8080, debug=True)
{'fraction_non_alphanumeric': 0.1252676659528908, 'fraction_numerical': 0.023554603854389723, 'mean_word_length': 4.373563218390805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3897688', 'n_tokens_mistral': 334, 'n_tokens_neox': 312, 'n_words': 89}