Created
June 2, 2022 10:50
-
-
Save alanjones2/56129e54f918d0a975a2bc19eb143117 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message = """ | |
__Select an application from the list below__ | |
""" | |
import streamlit as st | |
st.set_page_config(layout = "wide") # optional | |
from stlib import countryData | |
from stlib import continentData | |
with st.sidebar: | |
st.markdown(message) | |
page = st.selectbox('Select:',['Country Data','Continent Data']) | |
if page == 'Country Data': | |
countryData.run() | |
else: | |
continentData.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment