Gagan0141 commited on
Commit
ab55739
·
verified ·
1 Parent(s): 2cc845b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -83,12 +83,12 @@ def home():
83
  return redirect(url_for("login"))
84
  return render_template("home.html", username=session["username"])
85
 
86
- # #COUNTDOWN
87
- # @app.route("/countdown")
88
- # def home():
89
- # if "username" not in session:
90
- # return redirect(url_for("login"))
91
- # return render_template("countdown.html", username=session["username"])
92
 
93
  # Predict page
94
  @app.route("/predict", methods=["GET", "POST"])
 
83
  return redirect(url_for("login"))
84
  return render_template("home.html", username=session["username"])
85
 
86
+ #COUNTDOWN
87
+ @app.route("/countdown")
88
+ def countdown():
89
+ if "username" not in session:
90
+ return redirect(url_for("login"))
91
+ return render_template("countdown.html", username=session["username"])
92
 
93
  # Predict page
94
  @app.route("/predict", methods=["GET", "POST"])