sharmavaruncs commited on
Commit
4b45e48
1 Parent(s): 6e0533e

added image again

Browse files
Files changed (2) hide show
  1. app.py +19 -0
  2. config/microphone.jpeg +0 -0
app.py CHANGED
@@ -95,6 +95,25 @@ def config():
95
  # Set the page configuration with the title and icon
96
  st.set_page_config(page_title="Virtual Therapist", page_icon=im)
97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  # Add custom CSS styles
99
  st.markdown("""
100
  <style>
 
95
  # Set the page configuration with the title and icon
96
  st.set_page_config(page_title="Virtual Therapist", page_icon=im)
97
 
98
+ st.markdown(
99
+ """
100
+ <style>
101
+ .centered-image {
102
+ display: flex;
103
+ justify-content: center;
104
+ align-items: center;
105
+ height: 300px; /* Adjust the height as needed */
106
+ }
107
+ </style>
108
+ """
109
+ , unsafe_allow_html=True
110
+ )
111
+
112
+ # Add the centered image
113
+ st.markdown("<div class='centered-image'>", unsafe_allow_html=True)
114
+ st.image("config/microphone.jpeg", caption="Centered Image")
115
+ st.markdown("</div>", unsafe_allow_html=True)
116
+
117
  # Add custom CSS styles
118
  st.markdown("""
119
  <style>
config/microphone.jpeg ADDED