<commit_before># Flask-Rum [Version 0.1.2]
# Dommert Flask-Rum Loader

from flask import Flask
from flask import render_template
from flask_rum.main import rum

app = Flask(__name__)

#Import in Rum Configs
import flask_rum.rum_config as rum_config
app.config.from_object(rum_config)

# Sample override of Theme
app.config.THEME_FOLDER='rum/banana/'

# Sample Override over route('/about/')
@app.route('/about/')
def about2(title='Home '):
    return render_template('site/sample.html', title=title)

# Regular Route using Flask-Rum
@app.route('/sample')
def sample(title='Home '):
    return render_template('site/sample.html', title=title)

if __name__ == '__main__':
    app.register_blueprint(rum) #  Flask-Rum Blueprint
    app.run(host=app.config['HOST'], port=app.config['PORT'], debug=app.config['DEBUG'])<commit_msg>changing format<commit_after># Flask-Rum [Version 0.1.2]
# Dommert Flask-Rum Loader

from flask import Flask
from flask import render_template
app = Flask(__name__)



# Sample Override over route('/about/')
@app.route('/about/')
def about2(title='Home '):
    return render_template('site/sample.html', title=title)

# Regular Route using Flask-Rum
@app.route('/sample')
def sample(title='Home '):
    return render_template('site/sample.html', title=title)


# ---- RUM ----------------------------
from flask_rum.main import rum
import flask_rum.rum_config as rum_config
app.config.from_object(rum_config)
# Sample override of Theme
app.config.THEME_FOLDER='rum/banana/' # Flavor of Rum
app.register_blueprint(rum) #  Flask-Rum Blueprint

#------------------------------------

if __name__ == '__main__':
    app.run(host=app.config['HOST'], port=app.config['PORT'], debug=app.config['DEBUG'])
{'fraction_non_alphanumeric': 0.17315514235909354, 'fraction_numerical': 0.004648460197559558, 'mean_word_length': 4.298461538461538, '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': '3556557', 'n_tokens_mistral': 579, 'n_tokens_neox': 564, 'n_words': 128}