hangunwoo07 commited on
Commit
a4d0555
·
verified ·
1 Parent(s): dfda494

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -29,7 +29,7 @@ with open('DB/class_names.json', 'r', encoding='utf-8') as f:
29
  classes = json.load(f)
30
 
31
  # Constants
32
- DAEJEON_SCIENCE_HIGH_LOCATION = [36.373719, 127.370415]
33
 
34
  def get_image_from_dataset(bird_name, image_filename):
35
  """
@@ -73,7 +73,7 @@ def create_map():
73
  """
74
  Create an interactive map with bird sightings
75
  """
76
- m = folium.Map(location=DAEJEON_SCIENCE_HIGH_LOCATION, zoom_start=15)
77
 
78
  dshs_popup_content = f"""
79
  <div>
@@ -83,7 +83,7 @@ def create_map():
83
 
84
  # 대전과학고 마커 추가
85
  folium.Marker(
86
- daejeon_science_high_location,
87
  popup=folium.Popup(dshs_popup_content, max_width=300),
88
  tooltip="대전과학고등학교"
89
  ).add_to(m)
 
29
  classes = json.load(f)
30
 
31
  # Constants
32
+ DSHS_LOCATION = [36.373719, 127.370415]
33
 
34
  def get_image_from_dataset(bird_name, image_filename):
35
  """
 
73
  """
74
  Create an interactive map with bird sightings
75
  """
76
+ m = folium.Map(location=DSHS_LOCATION, zoom_start=15)
77
 
78
  dshs_popup_content = f"""
79
  <div>
 
83
 
84
  # 대전과학고 마커 추가
85
  folium.Marker(
86
+ DSHS_LOCATION,
87
  popup=folium.Popup(dshs_popup_content, max_width=300),
88
  tooltip="대전과학고등학교"
89
  ).add_to(m)