<commit_before>#! /usr/bin/env sh

case "$1" in
  "beat")
    python3 warmup_cache.py
    exec celery -A backend.backend beat -l info
    ;;
  "flower")
    exec celery flower -A backend.backend --broker="redis://${OMNOMNOM_REDIS_HOST:}:6379/1"
    ;;
  "frontend")
    exec python3 frontend.py
    ;;
  "worker")
    exec celery -A backend.backend worker -l info
    ;;
  *)
    echo "You need to pass beat, frontend or worker as an argument!" >&2
    exit 1<commit_msg>flower listen on all ips<commit_after>#! /usr/bin/env sh

case "$1" in
  "beat")
    python3 warmup_cache.py
    exec celery -A backend.backend beat -l info
    ;;
  "flower")
    exec celery flower -A backend.backend --address=0.0.0.0 --broker="redis://${OMNOMNOM_REDIS_HOST:}:6379/1"
    ;;
  "frontend")
    exec python3 frontend.py
    ;;
  "worker")
    exec celery -A backend.backend worker -l info
    ;;
  *)
    echo "You need to pass beat, frontend or worker as an argument!" >&2
    exit 1
{'fraction_non_alphanumeric': 0.13594232749742532, 'fraction_numerical': 0.024716786817713696, 'mean_word_length': 2.667924528301887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '5234889', 'n_tokens_mistral': 369, 'n_tokens_neox': 340, 'n_words': 104}