Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,69 +1,44 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
##
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
vercel login
|
46 |
-
vercel
|
47 |
-
|
48 |
-
## π Data Sources
|
49 |
-
|
50 |
-
This app uses Formula 1 World Championship data, including:
|
51 |
-
- Current season results
|
52 |
-
- Qualifying data
|
53 |
-
- Driver standings
|
54 |
-
- Historical race statistics
|
55 |
-
|
56 |
-
## π€ Contributing
|
57 |
-
|
58 |
-
1. Fork the repository
|
59 |
-
2. Create a feature branch
|
60 |
-
3. Commit changes
|
61 |
-
4. Push to the branch
|
62 |
-
5. Open a pull request
|
63 |
-
|
64 |
-
|
65 |
-
## π« Contact
|
66 |
-
|
67 |
-
Trae AI - [@traeai](https://twitter.com/traeai)
|
68 |
-
|
69 |
-
Project Link: [https://github.com/traeai/f1-race-predictor](https://github.com/traeai/f1-race-predictor)
|
|
|
1 |
+
---
|
2 |
+
title: F1 Race Predictor ποΈ
|
3 |
+
emoji: π
|
4 |
+
colorFrom: red
|
5 |
+
sdk: streamlit
|
6 |
+
sdk_version: "1.32.2"
|
7 |
+
app_file: app.py
|
8 |
+
pinned: false
|
9 |
+
---
|
10 |
+
|
11 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
12 |
+
|
13 |
+
---
|
14 |
+
|
15 |
+
# ποΈ F1 Race Predictor
|
16 |
+
|
17 |
+
**F1 Race Predictor** is a simple and smart Streamlit app that predicts upcoming Formula 1 race results based on recent driver performances.
|
18 |
+
|
19 |
+
β
Powered by live F1 data from [FastF1](https://docs.fastf1.dev)
|
20 |
+
β
Predicts based on past race results (no manual updates needed)
|
21 |
+
β
Future-proof (no deprecated APIs like Ergast)
|
22 |
+
|
23 |
+
---
|
24 |
+
|
25 |
+
## π Features
|
26 |
+
|
27 |
+
- Choose how many past races to consider (3-10 races)
|
28 |
+
- Train a machine learning model (Random Forest)
|
29 |
+
- Predict finish positions for the next Grand Prix
|
30 |
+
- Only active drivers are considered
|
31 |
+
- Simple, fast, lightweight Streamlit app
|
32 |
+
|
33 |
+
---
|
34 |
+
|
35 |
+
## π¦ Setup and Run
|
36 |
+
|
37 |
+
No setup needed on Hugging Face Spaces!
|
38 |
+
Just click **"Duplicate Space"** and run!
|
39 |
+
|
40 |
+
If you run locally:
|
41 |
+
|
42 |
+
```bash
|
43 |
+
pip install -r requirements.txt
|
44 |
+
streamlit run app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|