<commit_before># coding=utf-8
from flask import Flask
from jinja2 import FileSystemLoader

from pychroner.enums import LogLevel
from .view import View


class WebUIManager:
    app = Flask(__name__, static_folder="pychroner/webui/static")
    app.jinja_loader = FileSystemLoader("pychroner/webui/templates")

    def __init__(self, core):
        self.core = core
        MyView = View(self.core)
        MyView.register(self.app)

    def start(self):
        if self.core.config.logLevel == LogLevel.Debug:
            self.app.debug = True

        self.core.TM.startThread(self.app.run)
<commit_msg>Fix: static dir path<commit_after># coding=utf-8
from flask import Flask
from jinja2 import FileSystemLoader

from pychroner.enums import LogLevel
from .view import View


class WebUIManager:
    app = Flask(__name__)
    app.jinja_loader = FileSystemLoader("pychroner/webui/templates")

    def __init__(self, core):
        self.core = core
        setattr(self.app, "core", self.core)
        View.register(self.app)

    def start(self):
        if self.core.config.logLevel == LogLevel.Debug:
            self.app.debug = True

        self.core.TM.startThread(self.app.run)

{'fraction_non_alphanumeric': 0.10059171597633136, 'fraction_numerical': 0.0033812341504649195, 'mean_word_length': 3.0827586206896553, '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': '5494540', 'n_tokens_mistral': 388, 'n_tokens_neox': 380, 'n_words': 85}