File size: 539 Bytes
70634cd
893bd5b
 
70634cd
 
 
 
 
 
 
 
 
2823ac5
1
2
3
4
5
6
7
8
9
10
11
12
13
import streamlit as st
from repo_directory import Postions_Change

from repo_directory import button


GRANDPRIX = st.text_input("Grand Prix Name, eg.Monaco")

START_URL = st.text_input(label="Starting Grid URL from Formula1.com", value="https://www.formula1.com/en/results.html/2022/races/1136/mexico/starting-grid.html")

FINISH_URL = st.text_input(label="Race Result URL from Formula1.com", value="https://www.formula1.com/en/results.html/2022/races/1136/mexico/race-result.html")

Postions_Change.plot(START_URL, FINISH_URL, GRANDPRIX)