archana2324 commited on
Commit
197a2d3
Β·
verified Β·
1 Parent(s): 356a067

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- # Add some vertical space
80
- add_vertical_space(2)
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
+