kambris commited on
Commit
03821a3
·
verified ·
1 Parent(s): 98d4e8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -126,13 +126,13 @@ def get_country_coordinates():
126
  }
127
  def create_topic_map(summaries):
128
  coordinates = get_country_coordinates()
129
- m = folium.Map(location=[25.0, 30.0], zoom_start=4)
130
 
131
  # Color mapping for sentiments
132
  sentiment_colors = {
133
- 'Positive': 'green',
134
- 'Negative': 'red',
135
- 'Neutral': 'blue'
136
  }
137
 
138
  for summary in summaries:
 
126
  }
127
  def create_topic_map(summaries):
128
  coordinates = get_country_coordinates()
129
+ m = folium.Map(location=[27.0, 42.0], zoom_start=5)
130
 
131
  # Color mapping for sentiments
132
  sentiment_colors = {
133
+ 'LABEL_1': 'green', # Positive
134
+ 'LABEL_0': 'red', # Negative
135
+ 'LABEL_2': 'blue' # Neutral
136
  }
137
 
138
  for summary in summaries: