yuripeyamashita
commited on
Commit
•
822d179
1
Parent(s):
59d4887
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from flask import Flask
|
2 |
+
from time import sleep
|
3 |
+
|
4 |
+
app = Flask(__name__)
|
5 |
+
|
6 |
+
|
7 |
+
@app.route("/")
|
8 |
+
def index():
|
9 |
+
sleep(300)
|
10 |
+
return {}
|
11 |
+
|
12 |
+
if __name__ == "__main__":
|
13 |
+
app.run(host="0.0.0.0", port=7860)
|