Skip to content

Instantly share code, notes, and snippets.

@alanjones2
Created June 2, 2022 10:50
Show Gist options
  • Save alanjones2/56129e54f918d0a975a2bc19eb143117 to your computer and use it in GitHub Desktop.
Save alanjones2/56129e54f918d0a975a2bc19eb143117 to your computer and use it in GitHub Desktop.
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