A Streamlit-based AI application to predict injury risk levels for athletes based on personal and training data. Features include real-time prediction, a fitness chatbot, CSV batch upload, BMI analysis, smart tips, and data logging.
- 🩺 Injury risk prediction (Low / Medium / High)
- 💬 Fitness chatbot powered by GoosedevLuna
- 📂 Upload CSV for batch predictions
- 📊 BMI calculator and auto-classification
- 📈 Dataset distribution chart
- 🧠 Smart training & recovery tips
- 📝 Prediction log saved automatically
cd athlete-injury-risk-analyzer
pip install -r requirements.txtstreamlit run app.pyapp.pymodel.pklchatbot.pybackground.jpgrequirements.txt- (Optional)
injury_data_balanced.csv
Use the "📂 Upload & Predict" tab to upload a properly formatted CSV. You can download a sample CSV within the app UI.
Required columns:
Age, Sport, TrainingHours, SleepHours, PreviousInjury,
StressLevel, DietQuality, TrainingType, Weight, HeightCM
- Muhammad Shahmeer
- Huzaifa Khalid
- Moeez Arif
This project is for academic purposes only.
If you like this project, star the repo! ⭐