<commit_before>#!/usr/bin/env python
import os

from app import create_app, db

# configuration file path
config_path = os.path.dirname(os.path.abspath(__file__)) + '/ui.cfg'

app = create_app(config_path)

if __name__ == '__main__':
    app.run(host=app.config['HOST'], 
    		port=app.config['PORT'], 
    		debug=app.config['DEBUG'])<commit_msg>pikc up /etc/zipnish/ui.cfg path<commit_after>#!/usr/bin/env python
import os

from app import create_app, db

# configuration file path
etc_config_path = '/etc/zipnish/ui.cfg'
config_path = os.path.dirname(os.path.abspath(__file__)) + '/ui.cfg'

if os.path.exists(etc_config_path):
	config_path = etc_config_path

app = create_app(config_path)

if __name__ == '__main__':
    app.run(host=app.config['HOST'], 
    		port=app.config['PORT'], 
    		debug=app.config['DEBUG'])
{'fraction_non_alphanumeric': 0.1543134872417983, 'fraction_numerical': 0.0, 'mean_word_length': 4.5675675675675675, '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': '587947', 'n_tokens_mistral': 315, 'n_tokens_neox': 308, 'n_words': 54}