<commit_before>#!/usr/bin/env python
import json
import flask
import requests
import hmac
import hashlib

try:
    from credentials import *
except ImportError:
    log.error("Couldn't import credentials.py --- you'll need to create it.")
    log.error("See credentials.py.template for more details.")
    sys.exit(-1)

app = flask.Flask(__name__)
<commit_msg>Fix error in webhooks example when ngrok is not running<commit_after>#!/usr/bin/env python
import sys
import json
import flask
import requests
import hmac
import hashlib

try:
    from credentials import *
except ImportError:
    log.error("Couldn't import credentials.py --- you'll need to create it.")
    log.error("See credentials.py.template for more details.")
    sys.exit(-1)

app = flask.Flask(__name__)

{'fraction_non_alphanumeric': 0.10090556274256145, 'fraction_numerical': 0.00258732212160414, 'mean_word_length': 4.025974025974026, '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': '7452787', 'n_tokens_mistral': 235, 'n_tokens_neox': 226, 'n_words': 79}