Giter Site home page Giter Site logo

llm-personal-trainer-streamlit's Introduction

LLM-Personal-trainer-streamlit

LLM powered personal trainer built for the streamlit LLM hackathon, September 2023.

Refer to the medium article here -> https://medium.com/@mcfaddenrbenjamin/building-a-llm-personal-trainer-with-streamlit-langchain-337a8efac832

Summary: A streamlit application built using streamlit, langchain, and the open AI API. The application has three main features including:

  • Workout plan generator: Provide some information and submit the form to generate a workout plan.

  • Answer fitness questions: Select a common fitness and health related question and submit to recieve an answer.

  • Workout of the day: Select a preference, and a random workout of the day will be provided to you.

The app requires you to have your own API key.

python 3.11.5 python -m venv venv cd venv/scripts activate

pip install -r requirements.txt

streamlit run 1_Workout_Plan_Generator.py

API key management:

There are two ways to use the app.

  • 1 - Use the public version hosted on streamlit cloud. Provide your OPEN AI API key in the sidebar, validate the key, and then use the application.

  • 2 - Clone the repository, and provide the key in the secrets.toml file which should be placed in the .streamlit folder.

llm-personal-trainer-streamlit's People

Contributors

benjaminmcf avatar

Stargazers

 avatar  avatar  avatar Lyn Scott avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.