Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ def sign_up():
|
|
| 97 |
with open("products.json") as f:
|
| 98 |
data=json.load(f)
|
| 99 |
f.close()
|
| 100 |
-
return redirect(url_for("products
|
| 101 |
if request.method=="GET":
|
| 102 |
return render_template("Signup.html")
|
| 103 |
else:
|
|
@@ -209,7 +209,7 @@ def predict():
|
|
| 209 |
else:
|
| 210 |
return render_template("products.html")
|
| 211 |
if __name__=="__main__":
|
| 212 |
-
|
| 213 |
|
| 214 |
|
| 215 |
|
|
|
|
| 97 |
with open("products.json") as f:
|
| 98 |
data=json.load(f)
|
| 99 |
f.close()
|
| 100 |
+
return redirect(url_for("products"))
|
| 101 |
if request.method=="GET":
|
| 102 |
return render_template("Signup.html")
|
| 103 |
else:
|
|
|
|
| 209 |
else:
|
| 210 |
return render_template("products.html")
|
| 211 |
if __name__=="__main__":
|
| 212 |
+
app.run(debug=True)
|
| 213 |
|
| 214 |
|
| 215 |
|