Spaces:
Sleeping
Sleeping
Update pages/2_Tagger.py
Browse files387 unmodified lines388389390391392393394395396397387 unmodified lines# geojson = llm_coding.get_geojson(None, coords[0], coords[1])geojson = call_backend(text)['data'][0]print(geojson, 'gggggg')draw_location(geojson)# print(coords[0], coords[1], 'cccooo')print(geojson, 'ccoo')else:ent_str = params["entity"]ent_span = create_span(doc, ent_str, label="ENTITY")387 unmodified lines388389390391392393394395396397398387 unmodified lines# geojson = llm_coding.get_geojson(None, coords[0], coords[1])geojson = call_backend(text)['data'][0]try:draw_location(geojson)except:st.markdown('**The selected sentences do not contain final positioning logic. You can still use the first table on the first page for independent entity positioning.**')else:ent_str = params["entity"]ent_span = create_span(doc, ent_str, label="ENTITY")
pages/2_Tagger.py+5-4