JasonLiao commited on
Commit
8f52e0c
1 Parent(s): ada1fb8

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import flask
2
+ import os
3
+
4
+ from dotenv import load_dotenv
5
+ load_dotenv()
6
+
7
+ app = flask.Flask(__name__, template_folder="static")
8
+
9
+ @app.route("/")
10
+ def index():
11
+ return flask.render_template("index.html")
12
+
13
+ if __name__ == "__main__":
14
+ app.run(host="0.0.0.0", port=7860)