Spaces:
Runtime error
Runtime error
Create app.py
Browse files
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)
|