awacke1 commited on
Commit
a7a4739
·
1 Parent(s): 0587e0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -0
app.py CHANGED
@@ -39,6 +39,33 @@ import streamlit as st
39
  import json
40
  import plotly.express as px
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  def plot_state_outline(state_code, us_states_geojson, state_names):
43
  state_name = state_names.get(state_code, 'Unknown')
44
  fig = px.choropleth(locations=[state_name], geojson=us_states_geojson,
@@ -64,6 +91,8 @@ for state, icon in zip(states, icons):
64
  st.write(f"{icon} {state}")
65
  plot_state_outline(state, us_states_geojson, state_names)
66
 
 
 
67
 
68
  # Display maps for each state
69
  for state, icon in zip(states, icons):
 
39
  import json
40
  import plotly.express as px
41
 
42
+
43
+ def ListMaps():
44
+ MapInfo = """
45
+ Map Techniques to Understand Organizations, States, Locations, Driving Directions, Map Making
46
+ US States: https://huggingface.co/spaces/awacke1/USStates
47
+ State of MN: https://huggingface.co/spaces/awacke1/Streamlit-Google-Maps-Minnesota
48
+ State of MN Med Centers: https://huggingface.co/spaces/awacke1/Minnesota-Medical-Centers-Streamlit
49
+ State of MA Reliant: https://huggingface.co/spaces/awacke1/Streamlit-Google-Maps-Reliant
50
+ State of MA Medical Centers: https://huggingface.co/spaces/awacke1/Streamlit-Google-Maps-Massachusetts
51
+ State of MN: Hospital Details: https://huggingface.co/spaces/awacke1/MN.Map.Hospitals.Top.Five
52
+ State of CA Medical Centers: https://huggingface.co/spaces/awacke1/Streamlit-Google-Maps-California
53
+ State of CA Hospital Details: https://huggingface.co/spaces/awacke1/California-Medical-Centers-Streamlit
54
+ State of CA Attractions: https://huggingface.co/spaces/awacke1/Map-California-AI
55
+ State of TX Medical Centers: https://huggingface.co/spaces/awacke1/Streamlit-Google-Maps-Texas
56
+ State of NJ Hospitals: https://huggingface.co/spaces/awacke1/VizLib-TopLargeHospitalsNewJersey
57
+ Iceland Myth Places and Routes: https://huggingface.co/spaces/awacke1/Maps.Markers.Honor.Iceland
58
+ US Corporation Map and CSV Location Data Loader: https://huggingface.co/spaces/awacke1/UnitedStatesMapAIandNLP
59
+ US Taxonomy Datasets: https://huggingface.co/spaces/awacke1/NPI-Provider-Map-By-Taxonomy-Search
60
+ NPI Registry Mental Health Provider Search and Cluster Map: https://huggingface.co/spaces/awacke1/Gradio-Maps-Latitude-Longitude
61
+ US City FIPS code, Location, Population: https://huggingface.co/spaces/awacke1/CityFipsLocationandPopulation
62
+ World Area PyDeck: https://huggingface.co/spaces/awacke1/StreamlitPydeckMapVisualViewStateForLatitudeLongitude
63
+ City, State - Latitude and Longitude Search (try Mound, MN): https://huggingface.co/spaces/awacke1/Google-Maps-Web-Service-Py
64
+ """
65
+ st.markdown(MapInfo)
66
+ return MapInfo
67
+
68
+
69
  def plot_state_outline(state_code, us_states_geojson, state_names):
70
  state_name = state_names.get(state_code, 'Unknown')
71
  fig = px.choropleth(locations=[state_name], geojson=us_states_geojson,
 
91
  st.write(f"{icon} {state}")
92
  plot_state_outline(state, us_states_geojson, state_names)
93
 
94
+ # Display maps
95
+ MapInfo = ListMaps()
96
 
97
  # Display maps for each state
98
  for state, icon in zip(states, icons):