Spaces:
Sleeping
Sleeping
Add application file
Browse files
main.py
CHANGED
@@ -75,8 +75,9 @@ def internal_server_error_handler(exc):
|
|
75 |
|
76 |
# Start Flask server
|
77 |
if __name__ == "__main__":
|
78 |
-
#
|
79 |
-
app1.run(host='0.0.0.0', port=int(os.getenv("PORT", 7860)), debug=
|
|
|
80 |
|
81 |
|
82 |
|
|
|
75 |
|
76 |
# Start Flask server
|
77 |
if __name__ == "__main__":
|
78 |
+
# Make sure the logger is not trying to write to non-writable directories
|
79 |
+
app1.run(host='0.0.0.0', port=int(os.getenv("PORT", 7860)), debug=False)
|
80 |
+
|
81 |
|
82 |
|
83 |
|