<commit_before>#!/usr/bin/env bash
# Install Loris on Ubuntu

set -o errexit
set -o nounset

LORIS_COMMIT="<KEY>"

# Install dependencies.  We don't include Apache because we're running
# Loris with UWSGI and nginx, not Apache.
apt-get install -y libjpeg-turbo8-dev libfreetype6-dev zlib1g-dev \
    liblcms2-dev liblcms2-utils libtiff5-dev libwebp-dev

# Download and install the Loris code itself
apt-get install -y unzip wget
wget "https://github.com/alexwlchan/loris/archive/$LORIS_COMMIT.zip"<commit_msg>Revert "Temporarily install Loris from my fork"<commit_after>#!/usr/bin/env bash
# Install Loris on Ubuntu

set -o errexit
set -o nounset

LORIS_COMMIT="<PASSWORD>"

# Install dependencies.  We don't include Apache because we're running
# Loris with UWSGI and nginx, not Apache.
apt-get install -y libjpeg-turbo8-dev libfreetype6-dev zlib1g-dev \
    liblcms2-dev liblcms2-utils libtiff5-dev libwebp-dev

# Download and install the Loris code itself
apt-get install -y unzip wget
wget "https://github.com/loris-imageserver/loris/archive/$LORIS_COMMIT.zip"
{'fraction_non_alphanumeric': 0.09492481203007519, 'fraction_numerical': 0.011278195488721804, 'mean_word_length': 4.433673469387755, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2203214', 'n_tokens_mistral': 407, 'n_tokens_neox': 384, 'n_words': 111}