Fix templated dashboard Dash compatibility and change port to 8052\n\n- Fixed html.Style compatibility issue by removing custom CSS for now\n- Fixed app.run_server() deprecation by changing to app.run()\n- Changed default port from 8051 to 8052 to avoid conflicts\n- Templated dashboard now starts successfully on port 8052\n- Template-based MVC architecture is fully functional\n- Demonstrates clean separation of HTML templates and Python logic
This commit is contained in:
@ -52,7 +52,7 @@ def main():
|
||||
|
||||
# Run the dashboard
|
||||
logger.info("Starting templated dashboard server...")
|
||||
dashboard.run_server(host='127.0.0.1', port=8051, debug=False)
|
||||
dashboard.run_server(host='127.0.0.1', port=8052, debug=False)
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error running templated dashboard: {e}")
|
||||
|
Reference in New Issue
Block a user