<commit_before>import flask
import os

SLACK_TEAM_NAME = os.environ.get('SLACK_TEAM_NAME')
SLACK_TOKEN = os.environ.get('SLACK_TOKEN')

app = flask.Flask(__name__)

@app.route('/')
def index():
    if SLACK_TEAM_NAME is None:
        return 'You need to set the \'SLACK_TEAM_NAME\' environment variable.'
    if SLACK_TOKEN is None:
        return 'You need to set the \'SLACK_TOKEN\' environment variable.'
    return 'This is where you put your email address.'

@app.route('/invite', methods=['POST'])
def invite():
    email = flask.request.form['email']
    return 'This is the part where I send an invitation to {}.'.format(email)

def main():
    app.run()

if __name__ == '__main__':
    main()<commit_msg>Update remiss.py<commit_after>import flask
import os

SLACK_FRIENDLY_NAME = os.environ.get('SLACK_FRIENDLY_NAME')
SLACK_SUBDOMAIN = os.environ.get('SLACK_SUBDOMAIN')
SLACK_TOKEN = os.environ.get('SLACK_TOKEN')

app = flask.Flask(__name__)

@app.route('/')
def index():
    return flask.render_template('index.html', slack_friendly_name=SLACK_FRIENDLY_NAME)

@app.route('/invite', methods=['POST'])
def invite():
    email = flask.request.form['email']
    return 'This is the part where I send an invitation to {}.'.format(email)

def main():
    app.run()

if __name__ == '__main__':
    main()
{'fraction_non_alphanumeric': 0.14143730886850153, 'fraction_numerical': 0.0, 'mean_word_length': 4.386831275720165, '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': '6134757', 'n_tokens_mistral': 456, 'n_tokens_neox': 461, 'n_words': 116}