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

# get openfaas gateway proxy

set -ex
cd $(dirname $0)

echo "http://localhost:31112"
kubectl port-forward svc/gateway -n openfaas 31112:8080<commit_msg>update openfaas-gateway-proxy.sh to exec bash<commit_after>#!/usr/bin/env bash

# get openfaas gateway proxy

killall kubectl
set -ex

export OPENFAAS_URL="http://localhost:31112"
kubectl port-forward svc/gateway -n openfaas 31112:8080 &

exec bash
{'fraction_non_alphanumeric': 0.11212814645308924, 'fraction_numerical': 0.06636155606407322, 'mean_word_length': 5.0, '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': '4418548', 'n_tokens_mistral': 193, 'n_tokens_neox': 163, 'n_words': 42}