Update Controller.py
Browse files- Controller.py +3 -0
Controller.py
CHANGED
@@ -30,4 +30,7 @@ def predict():
|
|
30 |
# Return the predictions as a JSON response
|
31 |
return jsonify({"Prediction": list(prediction)})
|
32 |
|
|
|
33 |
# Run the Flask app when this script is executed
|
|
|
|
|
|
30 |
# Return the predictions as a JSON response
|
31 |
return jsonify({"Prediction": list(prediction)})
|
32 |
|
33 |
+
|
34 |
# Run the Flask app when this script is executed
|
35 |
+
if __name__ == "__main__":
|
36 |
+
app.run(debug=True)
|