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")