Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,6 @@ import warnings
|
|
| 66 |
import streamlit as st
|
| 67 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
| 68 |
from langchain.schema import HumanMessage, SystemMessage, AIMessage
|
| 69 |
-
from streamlit_extras.add_vertical_space import add_vertical_space
|
| 70 |
|
| 71 |
# Ignore warnings
|
| 72 |
warnings.filterwarnings("ignore")
|
|
@@ -76,8 +75,8 @@ st.set_page_config(page_title="🌿 Magical Healer", page_icon="🧙♀️",
|
|
| 76 |
st.markdown("<h1 style='text-align: center; color: #4B0082;'>Welcome to the Magical Healer 🧙♀️🌿</h1>", unsafe_allow_html=True)
|
| 77 |
st.write("### How can I assist with your ailments or worries? 🧪✨")
|
| 78 |
|
| 79 |
-
#
|
| 80 |
-
|
| 81 |
|
| 82 |
# Initialize session state for messages with an introductory message
|
| 83 |
if "sessionMessages" not in st.session_state:
|
|
@@ -163,3 +162,4 @@ st.markdown("""
|
|
| 163 |
}
|
| 164 |
</style>
|
| 165 |
""", unsafe_allow_html=True)
|
|
|
|
|
|
| 66 |
import streamlit as st
|
| 67 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
| 68 |
from langchain.schema import HumanMessage, SystemMessage, AIMessage
|
|
|
|
| 69 |
|
| 70 |
# Ignore warnings
|
| 71 |
warnings.filterwarnings("ignore")
|
|
|
|
| 75 |
st.markdown("<h1 style='text-align: center; color: #4B0082;'>Welcome to the Magical Healer 🧙♀️🌿</h1>", unsafe_allow_html=True)
|
| 76 |
st.write("### How can I assist with your ailments or worries? 🧪✨")
|
| 77 |
|
| 78 |
+
# Adding vertical space without streamlit_extras
|
| 79 |
+
st.markdown("<br><br>", unsafe_allow_html=True)
|
| 80 |
|
| 81 |
# Initialize session state for messages with an introductory message
|
| 82 |
if "sessionMessages" not in st.session_state:
|
|
|
|
| 162 |
}
|
| 163 |
</style>
|
| 164 |
""", unsafe_allow_html=True)
|
| 165 |
+
|