<commit_before>#!/bin/bash
# TODO: set this, test or release?
#  should this suffix be set from a parameter?
#suffix="_test"
suffix="_release"
endpoint = "cufacesearch"
#source ~/.bashrc

while getopts r: option
do
  case "${option}"
  in
  r) repo_path=${OPTARG};;
  esac
done

if [ ${repo_path+x} ]; then
  echo "repo_path: "${repo_path}
else
  echo "repo_path not set. Use -r to set repo_path please."
  exit -1
fi

cd ${repo_path}/setup/DLibFaceSearch

package_name="cufacesearch"
extr_type="dlibface"
conf="conf_search_"${extr_type}${suffix}".json"
# Should these two script be run on different machines?<commit_msg>fix endpoint dlib<commit_after>#!/bin/bash
# TODO: set this, test or release?
#  should this suffix be set from a parameter?
#suffix="_test"
suffix="_release"
endpoint="cufacesearch"
#source ~/.bashrc

while getopts r: option
do
  case "${option}"
  in
  r) repo_path=${OPTARG};;
  esac
done

if [ ${repo_path+x} ]; then
  echo "repo_path: "${repo_path}
else
  echo "repo_path not set. Use -r to set repo_path please."
  exit -1
fi

cd ${repo_path}/setup/DLibFaceSearch

package_name="cufacesearch"
extr_type="dlibface"
conf="conf_search_"${extr_type}${suffix}".json"
# Should these two script be run on different machines?
{'fraction_non_alphanumeric': 0.13504823151125403, 'fraction_numerical': 0.001607717041800643, 'mean_word_length': 5.073170731707317, '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': '4813985', 'n_tokens_mistral': 455, 'n_tokens_neox': 444, 'n_words': 134}