awacke1 commited on
Commit
c6c7b37
·
1 Parent(s): 2232114

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -33,9 +33,7 @@ def generate_speech_textarea(text_to_speak):
33
  '''
34
  components.html(documentHTML5, width=1280, height=500)
35
 
36
-
37
-
38
- import geopandas as gpd
39
  import matplotlib.pyplot as plt
40
  import streamlit as st
41
  import json
@@ -99,7 +97,7 @@ for i, (state, icon) in enumerate(zip(states, icons)):
99
 
100
  st.markdown(text_to_speak)
101
 
102
- plot_state_outline(state)
103
 
104
  if st.button(f"🔊 Read {state}'s Facts Aloud"):
105
  generate_speech_textarea(text_to_speak)
 
33
  '''
34
  components.html(documentHTML5, width=1280, height=500)
35
 
36
+ import geopandas as gpd
 
 
37
  import matplotlib.pyplot as plt
38
  import streamlit as st
39
  import json
 
97
 
98
  st.markdown(text_to_speak)
99
 
100
+ plot_state_outline(state, us_states_geojson, state_names)
101
 
102
  if st.button(f"🔊 Read {state}'s Facts Aloud"):
103
  generate_speech_textarea(text_to_speak)