<commit_before>from gist import app as gist
from githubapp import app as github
import os

if __name__ == '__main__':
    # Bind to PORT if defined, otherwise default to 5000.
    port = int(os.environ.get('PORT', 5000))
    debug = os.path.exists('.debug')
    print 'url scheme' , os.environ.get('URL_SCHEME', None)
    if debug :
        print 'DEBUG MODE IS ACTIVATED !!!'
    else :
        print 'debug is not activated'
    gist.run(host='0.0.0.0', port=port, debug=debug)<commit_msg>debugfile or debugenv<commit_after>from gist import app as gist
from githubapp import app as github
import os

if __name__ == '__main__':
    # Bind to PORT if defined, otherwise default to 5000.
    port = int(os.environ.get('PORT', 5000))
    debugfile = os.path.exists('.debug')
    debugenv = os.environ.get('DEBUG', False) == 'True'
    debug = debugfile or debugenv
    print 'url scheme' , os.environ.get('URL_SCHEME', None)
    if debug :
        print 'DEBUG MODE IS ACTIVATED !!!'
    else :
        print 'debug is not activated'
    gist.run(host='0.0.0.0', port=port, debug=debug)
{'fraction_non_alphanumeric': 0.12453874538745388, 'fraction_numerical': 0.02214022140221402, 'mean_word_length': 3.23828125, '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': '3879719', 'n_tokens_mistral': 376, 'n_tokens_neox': 359, 'n_words': 113}