Spaces:
Running
Running
Update app.py
Browse files
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 |
-
#
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 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"])
|