You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Great library you have here, really enjoying it.
I'm trying to set up ExplainerHub with the add_dashboard_route, and it's not working. "ERROR: Failed to add dashboard!". If I print the traceback leading to that error, I get the trace below.
traceback (most recent call last):
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\explainerdashboard\dashboards.py", line 2572, in add_dashboard
dashboard_name = self.add_dashboard(
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\explainerdashboard\dashboards.py", line 1629, in add_dashboard
ExplainerDashboard.from_config(
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\explainerdashboard\dashboards.py", line 943, in from_config
return cls(explainer, tabs, **dashboard_params, **kwargs)
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\explainerdashboard\dashboards.py", line 687, in __init__
self.app = self._get_dash_app()
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\explainerdashboard\dashboards.py", line 1180, in _get_dash_app
app = dash.Dash(
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\dash\dash.py", line 504, in __init__
self.init_app()
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\dash\dash.py", line 529, in init_app
self.server.register_blueprint(
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\flask\scaffold.py", line 49, in wrapper_func
self._check_setup_finished(f_name)
File "G:\Temp\venvs\calciumexpansion_3_9_12\lib\site-packages\flask\app.py", line 722, in _check_setup_finished
raise AssertionError(
AssertionError: The setup method 'register_blueprint' can no longer be called on the application. It has already handled its first request, any changes will not be applied consistently.
Make sure all imports, decorators, functions, etc. needed to set up the application are done before running it.
The second board yaml is
dashboard:
explainerfile: ll_fce10_proc_20200117_105803_l1.dillparams:
title: Model Explainername: nulldescription: "This dashboard shows the workings of a fitted\n machine\\ learning model, and explains its predictions."simple: falsehide_header: falseheader_hide_title: falseheader_hide_selector: falseheader_hide_download: falsehide_poweredby: falseblock_selector_callbacks: falsepos_label: nullfluid: truemode: dashwidth: 1000height: 800bootstrap: nullexternal_stylesheets: nullurl_base_pathname: nullroutes_pathname_prefix: nullrequests_pathname_prefix: nullresponsive: truelogins: nullport: 8050importances: truemodel_summary: truecontributions: truewhatif: trueshap_dependence: trueshap_interaction: truedecision_trees: truekwargs: {}tabs: null
The text was updated successfully, but these errors were encountered:
Hi! Great library you have here, really enjoying it.
I'm trying to set up ExplainerHub with the add_dashboard_route, and it's not working. "ERROR: Failed to add dashboard!". If I print the traceback leading to that error, I get the trace below.
Any ideas?
Details
Starts up fine, I can load db1 fine, but when I got to add a second db via http://127.0.0.1:8050/add_dashboard/ll_fce10_proc_20200117_105803_l1.yaml, I get
The second board yaml is
The text was updated successfully, but these errors were encountered: