m-ric HF staff commited on
Commit
41ed228
1 Parent(s): cdde014

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -190,7 +190,7 @@ def create_map_from_markers(dataframe):
190
  for _, row in dataframe.iterrows():
191
  if np.isnan(row["lat"]) or np.isnan(row["lon"]):
192
  continue
193
- popup_message = f"<h4 style='color: #d53e2a;'>{row['name']}</h4><p style='font-weight:500'>{row['description']}</p>"
194
  popup_message += f"<a href='https://www.google.com/search?q={row['name']}' target='_blank'><b>Learn more about {row['name'].split(',')[0]}</b></a>"
195
 
196
  marker = folium.Marker(
 
190
  for _, row in dataframe.iterrows():
191
  if np.isnan(row["lat"]) or np.isnan(row["lon"]):
192
  continue
193
+ popup_message = f"<h4 style='color: #d53e2a;'>{row['name'].split(',')[0]}</h4><p style='font-weight:500'>{row['description']}</p>"
194
  popup_message += f"<a href='https://www.google.com/search?q={row['name']}' target='_blank'><b>Learn more about {row['name'].split(',')[0]}</b></a>"
195
 
196
  marker = folium.Marker(