Spaces:
No application file
No application file
File size: 467 Bytes
7df128f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import streamlit as st
import os
import sys
src_directory = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..", "backend"))
sys.path.append(src_directory)
import streamlit_functions
st.title("World Population Data")
# csv_file = st.file_uploader("Choose a CSV file", type=['csv'])
selected_option = st.selectbox("Select a option",['Select a option',"showdata"])
if selected_option == "showdata":
streamlit_functions.display_contents(st,"showdata") |