alinJain commited on
Commit
e16ca0f
·
verified ·
1 Parent(s): d8be1a8

Update Controller.py

Browse files
Files changed (1) hide show
  1. 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)