ouhenio commited on
Commit
9a1aeae
·
verified ·
1 Parent(s): a199c4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -161,7 +161,7 @@ async def serve_map():
161
  # Generate data for each country by querying Argilla
162
  country_data = {}
163
  for country in countries.keys():
164
- country_data[country] = count_answers_per_space(country)
165
 
166
  # Convert to JSON for JavaScript
167
  country_data_json = json.dumps(country_data)
 
161
  # Generate data for each country by querying Argilla
162
  country_data = {}
163
  for country in countries.keys():
164
+ country_data[countries[country]["iso"]] = count_answers_per_space(country)
165
 
166
  # Convert to JSON for JavaScript
167
  country_data_json = json.dumps(country_data)