MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / index

Function index

digit-recognizer/app/routes.py:8–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7@app.route('/', methods=['GET'])
8def index():
9 # owing to the Singleton Pattern can make model loading ahead,
10 # so let predictors load model before loading page completed.
11 RegressionPredictor(), CNNPredictor()
12
13 return render_template('index.html')
14
15
16@app.route('/predict', methods=['POST'])

Callers

nothing calls this directly

Calls 2

RegressionPredictorClass · 0.90
CNNPredictorClass · 0.90

Tested by

no test coverage detected