How amirtharaju/workout_plan_generator works
This is a small Streamlit application that collects workout preferences, validates them, asks Groq to generate a personalized plan, and displays the result. Its main runtime stages are represented within app.py, not separate packages. The README documents the overall flow; the excerpts show validation, prompt construction, Groq client use, response handling, and display, but omit some call-site details. Future enhancements and setup tooling are excluded because they are not current runtime capabilities.
Main entry points: app.py Plan Generator
Components 9
User Interface
- Streamlit UI
app.py - Plan Display
app.py
Plan Generation
- Input Validation
app.py - Prompt Builder
app.py - Plan Generator
app.py - Response Handling
app.py
LLM Integration
- Groq Client Setup
app.py - Groq API
Other components
- User
Connections 11
- User → Streamlit UI: enters preferences
README.md - Streamlit UI → Input Validation: validates inputs
README.md - Streamlit UI → Plan Generator: requests plan
README.md - Plan Generator → Input Validation: checks inputs
app.py - Plan Generator → Prompt Builder: builds prompt
README.md - Plan Generator → Groq Client Setup: creates client
app.py - Plan Generator → Groq API: sends completion request
app.py - Groq API → Plan Generator: returns response
README.md - Plan Generator → Response Handling: checks response
app.py - Plan Generator → Streamlit UI: returns plan
README.md - Streamlit UI → Plan Display: renders Markdown
app.py