Spaces:
Running
Running
Update run.py
Browse files
run.py
CHANGED
@@ -2,10 +2,8 @@
|
|
2 |
import os
|
3 |
from app import create_app
|
4 |
|
5 |
-
app = create_app()
|
6 |
-
|
7 |
if __name__ == '__main__':
|
8 |
-
|
9 |
port = int(os.environ.get('PORT', 7860))
|
10 |
print(f"Starting Flask application on port {port}...")
|
11 |
app.run(host='0.0.0.0', port=port, debug=False)
|
|
|
2 |
import os
|
3 |
from app import create_app
|
4 |
|
|
|
|
|
5 |
if __name__ == '__main__':
|
6 |
+
app = create_app()
|
7 |
port = int(os.environ.get('PORT', 7860))
|
8 |
print(f"Starting Flask application on port {port}...")
|
9 |
app.run(host='0.0.0.0', port=port, debug=False)
|