def api_get_data():

    result = business.get_data()

    # result_dict = {

    #     'year'       : year,
    #     'pytorch'    : pytorch,
    #     'tensorFlow' : tensorFlow

    # }

    return jsonify(result)
Exemple #2
0
def api_get_data():

    result = business.get_data()


    return jsonify(result)