Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import subprocess
|
|
5 |
|
6 |
if __name__ == "__main__":
|
7 |
# Run awake.py in the background
|
8 |
-
subprocess.Popen(["python", "wk.py"]) # Start awake.py
|
9 |
|
10 |
# Run the Flask app using Gunicorn
|
11 |
os.system("gunicorn -w 4 -b 0.0.0.0:5000 myapp:myapp") # 4 worker processes
|
|
|
5 |
|
6 |
if __name__ == "__main__":
|
7 |
# Run awake.py in the background
|
8 |
+
#subprocess.Popen(["python", "wk.py"]) # Start awake.py
|
9 |
|
10 |
# Run the Flask app using Gunicorn
|
11 |
os.system("gunicorn -w 4 -b 0.0.0.0:5000 myapp:myapp") # 4 worker processes
|