Skip to content

Commit

Permalink
update branding
Browse files Browse the repository at this point in the history
alexkolo committed Sep 16, 2024
1 parent bbef797 commit e715d75
Showing 7 changed files with 24 additions and 12 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![readme welcome image](data/images/DALLE_2024-09-06_09.48.30.png)
![readme welcome image](data/images/DALLE_2024-09-16_21.48.45_header.webp)

<!--- BADGES: START --->
![Python-Badge](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue)
@@ -7,13 +7,13 @@
![Docker-Badge](https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge&logo=docker&logoColor=white)
<!--- BADGES: END --->

# Nutrition Insights with Dr. Greger's Digital Twin 🥦
# Nutrify Your Life: A Science-Based Health & Lifestyle Companion 🥦

## A RAG-based Q&A chatbot

This digital assistant, inspired by [Dr. Michael Greger & his team](https://nutritionfacts.org/team/) at [NutritionFacts.org](https://nutritionfacts.org/about/), was created to answer user questions about healthy eating and lifestyle choices. Drawing from [over 1,200 well-researched blog posts since 2011](https://nutritionfacts.org/blog/), it provides science-backed insights to help users live a healthier, more informed life.
**Nutrify Your Life** is your personal digital assistant, inspired by the science-based expertise of [NutritionFacts.org](https://nutritionfacts.org/about/). Designed to answer your questions about healthy eating and lifestyle choices, this assistant draws from over 1,200 well-researched blog posts since 2011. Whether you're looking for nutrition tips or guidance on living a healthier life, it offers reliable, science-backed insights to help you live a healthier, more informed life.

Start chatting with Dr. Greger's Digital Twin [here](https://dr-greger-blog-bot.streamlit.app/).
Start chatting with the **Nutrify Your Life** companion [here](https://dr-greger-blog-bot.streamlit.app/).

<!---
<p align="center">
@@ -33,7 +33,6 @@ Start chatting with Dr. Greger's Digital Twin [here](https://dr-greger-blog-bot.

## Documentation

- [What problems does the chatbot try to mitigate](docs/offical_project_description.md)
- [How you can run & test the chatbot yourself](docs/offical_how_to_run_yourself.md)
- [How I built and evaluated this chatbot](docs/offical_how_i_build_it.md)
- [Personal project evaluation](docs/internal_project_evaluation.md) based on the [criteria](https://github.com/DataTalksClub/llm-zoomcamp/blob/main/project.md#evaluation-criteria) of the [LLM-zoomcamp](https://github.com/DataTalksClub/llm-zoomcamp) course
8 changes: 2 additions & 6 deletions app.py
Original file line number Diff line number Diff line change
@@ -154,18 +154,14 @@ def process_user_input(

# Page starts here
# ==========================
page_title = "Nutrition Insights with Dr. Greger's Digital Twin 🥦"
page_title = "Nutrify Your Life: A Science-Based Health & Lifestyle Companion 🥦"
st.set_page_config(page_title=page_title, page_icon=BOT_AVATAR) # , layout="wide")


# Header
# ------------
st.header(page_title, divider="blue")
app_intro: str = """
This digital assistant, inspired by [Dr. Michael Greger & his team](https://nutritionfacts.org/team/) at
[NutritionFacts.org](https://nutritionfacts.org/about/), is here to answer your questions about healthy eating and
lifestyle choices. Drawing from over 1,200 well-researched blog posts since 2011, it provides science-backed insights
to help you live a healthier, more informed life.
"Nutrify Your Life" is your personal digital assistant, inspired by the science-based expertise of [NutritionFacts.org](https://nutritionfacts.org/about/). Designed to answer your questions about healthy eating and lifestyle choices, this assistant draws from over 1,200 well-researched blog posts since 2011. Whether you're looking for nutrition tips or guidance on living a healthier life, it offers reliable, science-backed insights to help you live a healthier, more informed life.
"""
if not st.session_state["start_chat"]:
st.info(app_intro, icon="💡")
2 changes: 1 addition & 1 deletion app_assets/chat_bot_disclaimer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- **General Information:** The digital assistant is an automated system powered by an LLM. Despite my best efforts, I cannot guarantee the accuracy, completeness, or timeliness of the answers. (In fact, creating an accurate and reliable digital assistant is a rather difficult task where even large companies can fail).
- **Responsibility:** You are solely responsible for your interactions with the digital assistant and any reliance you place on the information provided. It is important that you exercise caution and discretion in interpreting and acting upon the digital assistant's responses. I cannot be held liable for any actions, losses or damages resulting from the use of my digital assistant.
- **Privacy and Security:** Please be aware that conversations are logged and may be reviewed by me to improve the responses of the digital assistant. Also, the providers (e.g. [Groq](https://groq.com/)) of the Model API may use parts of your conversation. Do not include sensitive or personal information in your conversations.
- **Privacy and Security:** Please be aware that conversations are logged and may be reviewed by me to improve the responses of the digital assistant. Also, the LLM API provider ([Groq](https://groq.com/)) of the Model API may use parts of your conversation. Do not include sensitive information in your conversations, which you would not want to share with others.
1 change: 1 addition & 0 deletions data/images/DALLE_2024-09-16_21.48.45_header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A vibrant, colorful header image filled with a variety of edible plants such as fresh fruits, vegetables, leafy greens, and herbs like carrots, tomatoes, bell peppers, spinach, avocados, berries, broccoli, cucumbers, and herbs. In the middle, show the head of a friendly, human-like robot with a smiling, gentle expression. To symbolize that this is science-based, add subtle scientific elements like DNA strands, molecular structures, and beakers with healthy-looking liquids. These should be integrated naturally into the scene, blending with the colorful plants and the robot. No text or letters should be included.
Binary file not shown.
Binary file not shown.
16 changes: 16 additions & 0 deletions redirect.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import streamlit as st

# Page title
st.title("Redirecting...")

# Specify the URL to redirect to
redirect_url = "https://nutrify-your-life.streamlit.app/" # Replace with the desired URL

# Automatically redirect after 2 seconds
st.markdown(
f"""
<meta http-equiv="refresh" content="2; url={redirect_url}">
If you are not redirected automatically, click <a href="{redirect_url}">here</a>.
""",
unsafe_allow_html=True,
)

0 comments on commit e715d75

Please sign in to comment.