<commit_before># -*- coding: utf-8 -*-
"""
Simple application to provide freq from images of seismic.
Freq code by endolith https://gist.github.com/endolith/255291
"""
from io import BytesIO
import uuid

from flask import Flask
from flask import make_response
from flask import request, jsonify, render_template

import urllib
import requests
import numpy as np
from PIL import Image

from bruges import get_bruges<commit_msg>null edit<commit_after># -*- coding: utf-8 -*-
"""
Simple application to provide freq from images of seismic.
Freq code by endolith https://gist.github.com/endolith/255291

"""
from io import BytesIO
import uuid

from flask import Flask
from flask import make_response
from flask import request, jsonify, render_template

import urllib
import requests
import numpy as np
from PIL import Image

from bruges import get_bruges
{'fraction_non_alphanumeric': 0.06595995288574794, 'fraction_numerical': 0.016489988221436984, 'mean_word_length': 4.862068965517241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6447056', 'n_tokens_mistral': 263, 'n_tokens_neox': 246, 'n_words': 106}