Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,12 +79,12 @@ def home():
|
|
| 79 |
return redirect(url_for("login"))
|
| 80 |
return render_template("home.html", username=session["username"])
|
| 81 |
|
| 82 |
-
#COUNTDOWN
|
| 83 |
-
|
| 84 |
-
def home():
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
|
| 89 |
# Predict page
|
| 90 |
@app.route("/predict", methods=["GET", "POST"])
|
|
|
|
| 79 |
return redirect(url_for("login"))
|
| 80 |
return render_template("home.html", username=session["username"])
|
| 81 |
|
| 82 |
+
# #COUNTDOWN
|
| 83 |
+
# @app.route("/countdown")
|
| 84 |
+
# def home():
|
| 85 |
+
# if "username" not in session:
|
| 86 |
+
# return redirect(url_for("login"))
|
| 87 |
+
# return render_template("countdown.html", username=session["username"])
|
| 88 |
|
| 89 |
# Predict page
|
| 90 |
@app.route("/predict", methods=["GET", "POST"])
|