Spaces:
Running
Running
tracinginsights
commited on
Commit
·
70634cd
1
Parent(s):
0dc4e49
Create Positions_Change.py
Browse files- pages/Positions_Change.py +12 -0
pages/Positions_Change.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from repo_directory import Positions_Change
|
3 |
+
from repo_directory import button
|
4 |
+
|
5 |
+
|
6 |
+
GRANDPRIX = st.text_input("Grand Prix Name, eg.Monaco")
|
7 |
+
|
8 |
+
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")
|
9 |
+
|
10 |
+
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")
|
11 |
+
|
12 |
+
Positions_Change.plot(START_URL, FINISH_URL)
|