<commit_before>AWS.config.region = "us-west-2";

AWS.config.credentials = new AWS.CognitoIdentityCredentials({
    IdentityPoolId: "us-west-2:e4b77bdb-3844-4630-86db-2ab02f35749f"
});

window.onload = function(){
    var predict_btn = document.getElementById("predict-button");
    var endpoint_btn = document.getElementById("btnStartEndpoint");
    var cognito_id = document.getElementById("cognito_id");

    AWS.config.credentials.get(function(err){
        if (err) {alert(err);}
        cognito_id.innerHTML = "Cognito Identity ID: " + AWS.config.credentials.identityID + "</p>";
    });
    
    AWS.config.region = "us-east-1";
    
    checkEndpointStatus();<commit_msg>Infinite identity pool updates<commit_after>AWS.config.region = "us-west-2";

AWS.config.credentials = new AWS.CognitoIdentityCredentials({
    IdentityPoolId: "us-west-2:67c8154b-846c-42e5-84cc-eb2ad239d2c6"
});

window.onload = function(){
    var predict_btn = document.getElementById("predict-button");
    var endpoint_btn = document.getElementById("btnStartEndpoint");
    var cognito_id = document.getElementById("cognito_id");

    AWS.config.credentials.get(function(err){
        if (err) {alert(err);}
        cognito_id.innerHTML = "Cognito Identity ID: " + AWS.config.credentials.identityID + "</p>";
    });
    
    AWS.config.region = "us-east-1";
    
    checkEndpointStatus();
{'fraction_non_alphanumeric': 0.14712308812818645, 'fraction_numerical': 0.03423160961398398, 'mean_word_length': 4.051470588235294, 'pattern_counts': {'":': 0, '<': 5, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071711', 'n_tokens_mistral': 473, 'n_tokens_neox': 459, 'n_words': 64}