Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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('
|
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('
|
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
|