import streamlit as st from repo_directory import Championship_Standings from repo_directory import button import numpy as np # select year YEAR = st.selectbox( 'Select Year', np.arange(2022,1950)) df = Championship_Standings.get_results(YEAR) Championship_Standings.plot(df, YEAR)