An AI-powered fitness web app that generates personalised weekly diet plans and workout routines based on your body stats, fitness goals and Indian food preferences.
- 🥗 AI Diet Plan Generator — Personalised 7-day meal plan with calories for each meal
- 🏋️ AI Workout Plan Generator — 7-day workout routine with sets, reps and rest days
- 🇮🇳 Indian Meal Support — Suggests Indian foods like dal, roti, paneer, poha, idli, rajma etc.
- 🥦 Diet Type Filter — Vegetarian, Non-Vegetarian, Eggetarian, Vegan — strictly followed
- 📊 BMI Calculator — Instant BMI score with health category
- 📥 Download Your Plan — Save your full diet + workout plan as a text file
- ⚡ Powered by LLaMA 3.3 — Fast, accurate AI responses via Groq API
Fill in your stats → Choose your diet preference → Get your full personalised plan instantly
git clone https://github.com/pparashar073/TrainSmart.git
cd TrainSmartpip install streamlit groq python-dotenv- Go to console.groq.com
- Sign up and create an API key
GROQ_API_KEY=your_groq_api_key_here
streamlit run app.py| Tech | Purpose |
|---|---|
| Python | Core language |
| Streamlit | Web UI framework |
| Groq API | AI inference engine |
| LLaMA 3.3 70B | Language model for plan generation |
| python-dotenv | Environment variable management |
- User enters their age, weight, height, gender, fitness goal and activity level
- User selects diet type (Veg/Non-Veg/Eggetarian/Vegan) and meal style preference
- App calculates BMI instantly
- On clicking Generate, two separate AI calls are made to LLaMA 3.3 via Groq
- A personalised 7-day diet plan and workout plan are generated and displayed
- User can download the full plan as a text file
- 📸 AI Exercise Form Checker — Upload a photo of your exercise and get form feedback
- 📈 Workout Logger — Track your daily workouts and streaks
- 🔔 Smart Reminders — Notifications for meals and workouts
Paras Parashar — B.Tech CS/AI Student
GitHub · LinkedIn
TrainSmart v2.0 — Because your fitness plan should be as unique as you are 💪