Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- dashboard.py +2 -2
dashboard.py
CHANGED
@@ -597,10 +597,10 @@ def load_Task_Method_trends(topic, **kwargs):
|
|
597 |
|
598 |
#load the task_timeseries dataframe for each of the task mapped from the selected topic in the dict topic2toptasks
|
599 |
for task in topic2toptasks[str(macro_topics_mapping[topic])]:
|
600 |
-
task_data[
|
601 |
|
602 |
# Create Panel UI with dropdown selection
|
603 |
-
task_dropdown = pn.widgets.Select(name="Select TASK", options=[key
|
604 |
|
605 |
@pn.depends(task_dropdown.param.value)
|
606 |
def load_task_overlays(task):
|
|
|
597 |
|
598 |
#load the task_timeseries dataframe for each of the task mapped from the selected topic in the dict topic2toptasks
|
599 |
for task in topic2toptasks[str(macro_topics_mapping[topic])]:
|
600 |
+
task_data[task]=loadTaskMethodTimeSeries(str(macro_topics_mapping[topic]),task)
|
601 |
|
602 |
# Create Panel UI with dropdown selection
|
603 |
+
task_dropdown = pn.widgets.Select(name="Select TASK", options=[key for key in task_data.keys()])
|
604 |
|
605 |
@pn.depends(task_dropdown.param.value)
|
606 |
def load_task_overlays(task):
|