zavavan commited on
Commit
26c620e
·
verified ·
1 Parent(s): 06e0b4a

Update dashboard.py

Browse files
Files changed (1) hide show
  1. 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
- mapping = json.load(os.path.join(data_folder+'/time_series','topic2toptasks.json'))
 
 
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