Skip to content

Commit

Permalink
Merge pull request #34 from adipai/rishi2019194-patch-1
Browse files Browse the repository at this point in the history
Update app.py
  • Loading branch information
ananya173147 authored Oct 16, 2023
2 parents 9249be0 + 2f6bf05 commit 0dc35a2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/recommenderapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ def landing_page():
return render_template("search_page.html")


@app.route("/get_started", methods=["POST"])
def get_started():
"""
Handle the Get Started button click and redirect to search_page.
"""
return redirect(url_for("search_page.html"))


@app.route("/search_page")
def search_page():
"""
Renders the search page.
"""
return render_template("search_page.html")


@app.route("/predict", methods=["POST"])
def predict():
"""
Expand Down

0 comments on commit 0dc35a2

Please sign in to comment.