November 2018
Beginner to intermediate
182 pages
4h 48m
English
Let's begin by getting the imports out of the way:
import loggingimport flaskimport osimport numpy as npfrom flask import Flask, jsonify, render_template, requestfrom sklearn.externals import joblib
I am assuming that as a programmer, you can pick up Flask basics outside this book. Even then, for the sake of completeness, I am adding the main ideas that are relevant to us:
Let's begin by declaring our app first:
app = Flask(__name__)
Next, we will use the route ...
Read now
Unlock full access