F1-analysis / pages /Weekend_Results.py
tracinginsights's picture
Create Weekend_Results.py
417af91
raw
history blame contribute delete
No virus
339 Bytes
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)