<commit_before>from flask import Flask, jsonify
import os

import utils

app = Flask('ShowMeYourBigSatellite', static_url_path='/static')

@app.route('/get_coordinates')
def get_coordinates():
    (longitude, latitude) = utils.random_coordinates()
    print utils.random_coordinates()
    print longitude, latitude
    return jsonify(longitude=longitude,
                   latitude=latitude)<commit_msg>Adds support for css in flask.<commit_after>from flask import Flask, jsonify
import os

import utils

app = Flask('ShowMeYourBigSatellite', static_url_path='/static')

@app.route('/get_coordinates')
def get_coordinates():
    (longitude, latitude) = utils.random_coordinates()
    print utils.random_coordinates()
    print longitude, latitude
    return jsonify(longitude=longitude,
                   latitude=latitude)

@app.route('/css/<path:path>')
def static_proxy_images(path):
    # send_static_file will guess the correct MIME type
    return app.send_static_file(os.path.join('css', path))
{'fraction_non_alphanumeric': 0.10568295114656032, 'fraction_numerical': 0.0, 'mean_word_length': 4.704545454545454, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1227296', 'n_tokens_mistral': 317, 'n_tokens_neox': 306, 'n_words': 69}