SpatialWebAgent commited on
Commit
e156921
·
verified ·
1 Parent(s): 306bd33

Update pages/2_Tagger.py

Browse files
Files changed (1) hide show
  1. pages/2_Tagger.py +2 -2
pages/2_Tagger.py CHANGED
@@ -21,7 +21,7 @@ from spacy.tokens import Span, Doc
21
  import os
22
 
23
 
24
- st.markdown(os.getcwd()) # 打印当前工作目录
25
 
26
 
27
  def nav_page(page_name, timeout_secs=3):
@@ -306,7 +306,7 @@ def set_map_menu():
306
 
307
  def draw_location(geojson):
308
  #gj = json.load(geojson)
309
- st.markdown(geojson)
310
  # geojson = geojson['data'][0]
311
  centroid = geojson['features'][0]['properties']['centroid']
312
  centroid = (centroid[0],centroid[1])
 
21
  import os
22
 
23
 
24
+ # st.markdown(os.getcwd())
25
 
26
 
27
  def nav_page(page_name, timeout_secs=3):
 
306
 
307
  def draw_location(geojson):
308
  #gj = json.load(geojson)
309
+ # st.markdown(geojson)
310
  # geojson = geojson['data'][0]
311
  centroid = geojson['features'][0]['properties']['centroid']
312
  centroid = (centroid[0],centroid[1])