A simple Streamlit app that connects to your Peloton account and suggests the next workout to meet your fitness goals.
To run the app you must provide an OpenAI API key and your Peloton credentials in the .env
file. The .env
file should look like this:
OPENAI_API_KEY='your_openai_api_key'
PELOTON_USER='your_peloton_username'
PELOTON_PASS='your_peloton_password'
Then in the terminal you can run the Streamlit app with:
streamlit run Home.py
Now the app is running and you can get started planning your workouts!
The PydanticAI agent is capable of a number of different tasks related to producing personalized Peloton recommendations.