debisoft commited on
Commit
5d5012e
·
1 Parent(s): f995bfa
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -8,6 +8,7 @@ upstage_token = os.getenv('UPSTAGE_TOKEN')
8
  # Set up the app, including daisyui and tailwind for the chat component
9
  hdrs = (picolink, Script(src="https://cdn.tailwindcss.com"),
10
  Link(rel="stylesheet", href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.min.css"))
 
11
  app = FastHTML(hdrs=hdrs)
12
 
13
  #app = FastHTML()
@@ -65,7 +66,8 @@ rec_list.forEach((elem) => addElem(elem));
65
 
66
  function addElem(elem)
67
  {
68
- var marker = L.marker([elem['latitude'], elem['longitude']]).addTo(map);
 
69
  marker.bindPopup(elem['name'])
70
 
71
  }
 
8
  # Set up the app, including daisyui and tailwind for the chat component
9
  hdrs = (picolink, Script(src="https://cdn.tailwindcss.com"),
10
  Link(rel="stylesheet", href="https://cdn.jsdelivr.net/npm/[email protected]/dist/full.min.css"))
11
+ #app = FastHTML(hdrs=hdrs, cls="p-4 max-w-lg mx-auto")
12
  app = FastHTML(hdrs=hdrs)
13
 
14
  #app = FastHTML()
 
66
 
67
  function addElem(elem)
68
  {
69
+ //var marker = L.marker([elem['latitude'], elem['longitude']]).addTo(map);
70
+ var marker = L.marker([elem['longitude'], elem['latitude']]).addTo(map);
71
  marker.bindPopup(elem['name'])
72
 
73
  }