sharmavaruncs commited on
Commit
ff9a3d0
·
1 Parent(s): 0096fb8

changed alignment

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -95,25 +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
- st.markdown(
99
- """
100
- <style>
101
- .centered-image {
102
- display: flex;
103
- justify-content: center;
104
- align-items: center;
105
- height: 100px; /* 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",width=100)
115
- st.markdown("</div>", unsafe_allow_html=True)
116
-
117
  # Add custom CSS styles
118
  st.markdown("""
119
  <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: 100px; /* 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",width=200)
115
+ #st.markdown("</div>", unsafe_allow_html=True)
116
+ st.image("config/microphone.jpeg", width=200, caption="Centered Image", use_column_width=True)
117
  # Add custom CSS styles
118
  st.markdown("""
119
  <style>