<commit_before>import os

import cherrypy

from models import *
from webserver.controllers import *
from webserver import session

cherrypy.config.update({
    'server.socket_host': '0.0.0.0',  # Make it visible from everywhere
    #'server.socket_port': 1234, 
    'log.screen': True,
    'engine.autoreload.on': True
})


class BastardBot(object):

    def __init__(self):
        conf = {
            '/': {
                # 'tools.sessionHandler.on': True,
                # 'tools.sessions.on': True,
                # 'tools.sessions.storage_type': "file",
                # 'tools.sessions.storage_path': "webserver/sessions"
            }
        }

        # Dispatch magic
        cherrypy.tree.mount(bastardcontroller.BastardController(), "", conf)<commit_msg>removing webserver import throwing errors<commit_after>import os

import cherrypy

from models import *
from webserver.controllers import *

cherrypy.config.update({
    'server.socket_host': '0.0.0.0',  # Make it visible from everywhere
    #'server.socket_port': 1234, 
    'log.screen': True,
    'engine.autoreload.on': True
})


class BastardBot(object):

    def __init__(self):
        conf = {
            '/': {
                # 'tools.sessionHandler.on': True,
                # 'tools.sessions.on': True,
                # 'tools.sessions.storage_type': "file",
                # 'tools.sessions.storage_path': "webserver/sessions"
            }
        }

        # Dispatch magic
        cherrypy.tree.mount(bastardcontroller.BastardController(), "", conf)
{'fraction_non_alphanumeric': 0.12710765239948119, 'fraction_numerical': 0.010376134889753566, 'mean_word_length': 2.30406852248394, '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': '3674273', 'n_tokens_mistral': 485, 'n_tokens_neox': 457, 'n_words': 89}