<commit_before>#!/bin/sh

xvfb-run gunicorn -b 0.0.0.0:8000 selenium_screenshot:app<commit_msg>Autodetermine SCREENSHOT_WORKERS if not specified<commit_after>#!/bin/sh

[ -z "$SCREENSHOT_WORKERS" ] && export SCREENSHOT_WORKERS="`grep processor /proc/cpuinfo | wc -l`"

xvfb-run gunicorn -b 0.0.0.0:8000 --workers "$SCREENSHOT_WORKERS" selenium_screenshot:app
{'fraction_non_alphanumeric': 0.13966480446927373, 'fraction_numerical': 0.0446927374301676, 'mean_word_length': 5.903846153846154, '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': '1916316', 'n_tokens_mistral': 164, 'n_tokens_neox': 149, 'n_words': 25}