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