Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijitpaul0212 authored Nov 10, 2023
1 parent 5e1f53d commit 54e22ba
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 54e22ba

Please sign in to comment.