Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,4 +56,4 @@ def handle_disconnect():
|
|
56 |
if __name__ == '__main__':
|
57 |
# Use port 7860 for Hugging Face Spaces or environment variable
|
58 |
port = int(os.environ.get('PORT', 7860))
|
59 |
-
socketio.run(app, debug=True, host='0.0.0.0', port=port)
|
|
|
56 |
if __name__ == '__main__':
|
57 |
# Use port 7860 for Hugging Face Spaces or environment variable
|
58 |
port = int(os.environ.get('PORT', 7860))
|
59 |
+
socketio.run(app, debug=True, host='0.0.0.0', port=port, allow_unsafe_werkzeug=True)
|