Skip to content

Commit

Permalink
Merge pull request #12 from abhijitpaul0212/abhijitpaul0212-patch-12
Browse files Browse the repository at this point in the history
Update app.py
  • Loading branch information
abhijitpaul0212 authored Nov 10, 2023
2 parents 5e1f53d + 54e22ba commit e5aed31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ def home_page():

@app.route("/predict", methods=["GET", "POST"])
def predict_datapoint():
"""
Prediction method
"""
if request.method == "GET":
return render_template("form.html")

Expand Down

0 comments on commit e5aed31

Please sign in to comment.