siyuansc commited on
Commit
761a238
1 Parent(s): 055ca22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,14 +15,14 @@ pn.extension('vega')
15
  events={}
16
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
17
  for nation in nations:
18
- with open('./events_%s.json' %nation) as json_data:
19
  events[nation] = json.load(json_data)
20
 
21
  # loading the match data
22
  matches={}
23
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
24
  for nation in nations:
25
- with open('./matches_%s.json' %nation) as json_data:
26
  matches[nation] = json.load(json_data)
27
 
28
  # loading the players data
 
15
  events={}
16
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
17
  for nation in nations:
18
+ with open('events/events_%s.json' %nation) as json_data:
19
  events[nation] = json.load(json_data)
20
 
21
  # loading the match data
22
  matches={}
23
  nations = ['Italy','England','Germany','France','Spain','European_Championship','World_Cup']
24
  for nation in nations:
25
+ with open('matches/matches_%s.json' %nation) as json_data:
26
  matches[nation] = json.load(json_data)
27
 
28
  # loading the players data