<commit_before>var ipadress = "127.0.0.1";
var port = 8080;
function uploadFile(file, callback) {
	var xhr = new XMLHttpRequest();
	var maxSize = 1024*1024*15
	if (xhr.upload && file.type == 'audio/mp3') {

		xhr.onreadystatechange = function(event) {
			if (xhr.readyState == 4) {
				progress.parentElement.removeChild(progress);
				if (xhr.status == 200) {
					response = JSON.parse(xhr.response);
					callback(false, response);
				} else if (xhr.status == 500) {
					callback(true, {"error": "File to large. Needs to be less than 15MB"});
				} else {
					response = JSON.parse(xhr.response);
					callback(true, response);
				}
			}
		};

		// Create progress element
		var progress = document.createElement('progress');
		progress.max = 100; progress.value = 0;<commit_msg>fixed missing semicolon<commit_after>var ipadress = "127.0.0.1";
var port = 8080;
function uploadFile(file, callback) {
	var xhr = new XMLHttpRequest();
	var maxSize = 1024*1024*15;
	if (xhr.upload && file.type == 'audio/mp3') {

		xhr.onreadystatechange = function(event) {
			if (xhr.readyState == 4) {
				progress.parentElement.removeChild(progress);
				if (xhr.status == 200) {
					response = JSON.parse(xhr.response);
					callback(false, response);
				} else if (xhr.status == 500) {
					callback(true, {"error": "File to large. Needs to be less than 15MB"});
				} else {
					response = JSON.parse(xhr.response);
					callback(true, response);
				}
			}
		};

		// Create progress element
		var progress = document.createElement('progress');
		progress.max = 100; progress.value = 0;
{'fraction_non_alphanumeric': 0.14845230574857865, 'fraction_numerical': 0.04295641187618446, 'mean_word_length': 3.4122562674094707, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6491689', 'n_tokens_mistral': 668, 'n_tokens_neox': 518, 'n_words': 127}