F1_Race_Predictor / README.md
Tryfonas's picture
Update README.md
9aff41b verified
---
title: F1 Race Predictor 🏎️
emoji: 🏁
colorFrom: red
sdk: streamlit
sdk_version: 1.44.1
app_file: app.py
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
---
# 🏎️ F1 Race Predictor
**F1 Race Predictor** is a simple and smart Streamlit app that predicts upcoming Formula 1 race results based on recent driver performances.
βœ… Powered by live F1 data from [FastF1](https://docs.fastf1.dev)
βœ… Predicts based on past race results (no manual updates needed)
βœ… Future-proof (no deprecated APIs like Ergast)
---
## πŸ“‹ Features
- Choose how many past races to consider (3-10 races)
- Train a machine learning model (Random Forest)
- Predict finish positions for the next Grand Prix
- Only active drivers are considered
- Simple, fast, lightweight Streamlit app
---
## πŸ“¦ Setup and Run
No setup needed on Hugging Face Spaces!
Just click **"Duplicate Space"** and run!
If you run locally:
```bash
pip install -r requirements.txt
streamlit run app.py