Spaces:
Sleeping
Sleeping
Update dashboard.py
Browse files- dashboard.py +3 -1
dashboard.py
CHANGED
@@ -151,7 +151,9 @@ grouping_filtered = pd.read_csv(os.path.join(data_folder, 'dna_relations.tsv'),
|
|
151 |
|
152 |
|
153 |
def load_topic2toptasks():
|
154 |
-
|
|
|
|
|
155 |
return mapping
|
156 |
|
157 |
|
|
|
151 |
|
152 |
|
153 |
def load_topic2toptasks():
|
154 |
+
with open(os.path.join(data_folder+'/time_series','topic2toptasks.json'), "r", encoding="utf-8") as file:
|
155 |
+
mapping = json.load(file)
|
156 |
+
|
157 |
return mapping
|
158 |
|
159 |
|