import streamlit as st from repo_directory import Weekend_Results from repo_directory import button GRANDPRIX = st.text_input("Grand Prix Name, eg.Monaco") URL = st.text_input(label="GP URL from Formula1.com in this format", value="https://www.formula1.com/en/results.html/2023/races/1211/spain") Weekend_Results.plot(GRANDPRIX, URL)