import os import yaml from yaml import SafeLoader import streamlit as st import template template.authenticate() template.make_logout_section() template.make_dashboard_section() config = dict() with open(os.getcwd()+'/config/users.yml') as file: config = yaml.load(file, Loader=SafeLoader) st.write(config) st.write(st.session_state) with st.sidebar: for i in range(20): st.button('Test'+str(i))