From 214707449e2c333011d32f31f0f690af618a7324 Mon Sep 17 00:00:00 2001 From: Utkarsh Raj Date: Tue, 31 Oct 2017 21:10:43 +0530 Subject: [PATCH] Formatting --- app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.py b/app.py index 231824c..25ad380 100644 --- a/app.py +++ b/app.py @@ -30,6 +30,7 @@ def product(): """ product=request.args['product'] return redirect("/trend/{}_OverAll".format(product)) + @app.route('/main_product', methods=['GET','POST']) def main_product(): if request.method == 'POST': @@ -41,9 +42,11 @@ def main_product(): return redirect("trend/{}_OverAll".format(product_name)) return redirect("/wearedoing/{}".format(product_name)) return render_template("product.html") + @app.route('/profile') def fc(): return render_template('user_profile.html') + @app.route('/wearedoing/') def wearedoingit(productname): #doing the naive bayes thing here