<commit_before>#!/bin/bash

P=$1
T=$2
F=$3
# echo 'Taking picture'
# echo "P=${P}"
# echo "T=${T}"
# echo "F=${F}"

opts="--camera=\"Canon EOS 100D\" --debug --debug-logfile=$HOME/gphoto2.log --port ${P} --set-config eosremoterelease=Immediate --wait-event=${T}s --set-config eosremoterelease=4 --wait-event-and-download=1s --filename=${F}"

# echo $opts

/usr/bin/gphoto2 --port $P --reset
/usr/bin/gphoto2 ${opts} &> /dev/null<commit_msg>Updating script<commit_after>#!/bin/bash

P=$1
T=$2
F=$3
# echo 'Taking picture'
# echo "P=${P}"
# echo "T=${T}"
# echo "F=${F}"

opts="--camera=\"Canon EOS 100D\" --debug --debug-logfile=$HOME/gphoto2.log --port ${P} --set-config eosremoterelease=Immediate --wait-event=${T}s --set-config eosremoterelease=4 --wait-event-and-download=1s --filename=${F}"

# echo $opts

/usr/bin/gphoto2 --port $P --reset
/usr/bin/gphoto2 ${opts} > /dev/null
{'fraction_non_alphanumeric': 0.24404086265607264, 'fraction_numerical': 0.024971623155505107, 'mean_word_length': 3.955056179775281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '5152269', 'n_tokens_mistral': 374, 'n_tokens_neox': 351, 'n_words': 72}