This is a web application designed to provide personalized diet and workout recommendations based on user input. The recommendations are generated using a language model (LLM) for a more interactive experience.
-
User Input: Collects user information such as age, gender, weight, height, dietary preferences, address, and food allergies.
-
LLM Integration: Utilizes a language model for generating recommendations tailored to user input.
-
Recommendation Categories: Provides recommendations for restaurants, breakfast, dinner, and workouts.
-
Interactive Interface: Utilizes the Streamlit framework to create a user-friendly and interactive web interface.
https://diet-recommender.streamlit.app
-
Install the required dependencies if using Llama2 LLM:
pip install torch streamlit transformers ctransformers
(OR) Set up your OpenAI API key:
Obtain an API key from OpenAI and set it as an environment variable.
```bash
export OPENAI_API_KEY=api_key
```
-
Run the Streamlit app:
streamlit run app.py
-
Open the web application in your browser.
-
Input your personal details including age, gender, weight, height, dietary preferences, address, and food allergies.
-
Click the "Get Recommendations" button.
-
View the personalized recommendations for restaurants, breakfast, dinner, and workouts.
Do you have any concerns or need any support? Just contact [email protected] for the communication.