<commit_before>from __future__ import absolute_import

from gunicorn import config
from gunicorn.app import base as gabase

from boredbot import web

BOREDBOT_MAIN_OK = True

class NoLoadApplication(gabase.BaseApplication):
    def load_config(self):
        pass

def main(args):
    gapp = NoLoadApplication()
    gapp.callable = web.app
    # gapp.cfg.address = '0.0.0.0:5000'
    workers = config.Setting()
    workers.value = 4
    gapp.cfg.settings['workers'] = workers
    gapp.run()<commit_msg>just plain shim into gunicorn<commit_after>from __future__ import absolute_import
import sys

from gunicorn.app import wsgiapp

BOREDBOT_MAIN_OK = True
def main(args):
    sys.argv = args
    wsgiapp.run()
{'fraction_non_alphanumeric': 0.08486562942008487, 'fraction_numerical': 0.01272984441301273, 'mean_word_length': 3.9859154929577465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '1416386', 'n_tokens_mistral': 241, 'n_tokens_neox': 234, 'n_words': 60}