<commit_before>#!/bin/bash

#source activate root

notebooks="$( cd ../notebooks && pwd )"
slides="$( cd ../slides && pwd )"

for filename in $notebooks/*.ipynb; do
    fileshort=$(basename "${filename%.*}")
    jupyter nbconvert "$filename" --to slides --output $slides/"${fileshort// /_}"
done<commit_msg>Add local server for slides<commit_after>#!/bin/bash

#source activate root

notebooks="$( cd ../notebooks && pwd )"
slides="$( cd ../slides && pwd )"

for filename in $notebooks/*.ipynb; do
    fileshort=$(basename "${filename%.*}")
    jupyter nbconvert "$filename" --to slides --output $slides/"${fileshort// /_}"
done

cd $slides
python -m http.server 8000
{'fraction_non_alphanumeric': 0.19640179910044978, 'fraction_numerical': 0.005997001499250375, 'mean_word_length': 3.911764705882353, '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': '6167244', 'n_tokens_mistral': 251, 'n_tokens_neox': 232, 'n_words': 63}