Update app.py
Browse files
app.py
CHANGED
@@ -97,16 +97,6 @@ def PlotOutlines():
|
|
97 |
|
98 |
|
99 |
|
100 |
-
# Display maps
|
101 |
-
MapInfo = ListMaps()
|
102 |
-
|
103 |
-
# Display maps for each state
|
104 |
-
for state, icon in zip(states, icons):
|
105 |
-
st.write(f"{icon} {state}")
|
106 |
-
plot_state_outline(state, us_states_geojson, state_names)
|
107 |
-
|
108 |
-
Geo = PlotOutlines()
|
109 |
-
|
110 |
# Main code
|
111 |
st.title('U.S. States Trivia 🗺️')
|
112 |
|
@@ -138,3 +128,9 @@ for i, (state, icon) in enumerate(zip(states, icons)):
|
|
138 |
|
139 |
if st.button(f"🔊 Read {state}'s Facts Aloud"):
|
140 |
generate_speech_textarea(text_to_speak)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
|
98 |
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
# Main code
|
101 |
st.title('U.S. States Trivia 🗺️')
|
102 |
|
|
|
128 |
|
129 |
if st.button(f"🔊 Read {state}'s Facts Aloud"):
|
130 |
generate_speech_textarea(text_to_speak)
|
131 |
+
|
132 |
+
# Display maps
|
133 |
+
MapInfo = ListMaps()
|
134 |
+
|
135 |
+
Geo = PlotOutlines()
|
136 |
+
|