<commit_before>#!/usr/bin/python3

import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0,"/var/www/outline.braiiin.com/client")
sys.path.insert(0,"/var/www/outline.braiiin.com")

from run import app as application<commit_msg>fixed wsgi for prod<commit_after>#!/usr/bin/python3

import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0,"/var/www/outline.braiiin.com/client")
sys.path.insert(0,"/var/www/outline.braiiin.com")

from outline_client import create_outline_app

app = create_outline_app(root='outline_client', config='ProductionConfig')

if __name__ == "__main__":
    app.run(**app.config['INIT'])
{'fraction_non_alphanumeric': 0.15233785822021115, 'fraction_numerical': 0.00904977375565611, 'mean_word_length': 6.46067415730337, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '6379861', 'n_tokens_mistral': 243, 'n_tokens_neox': 238, 'n_words': 35}