ImranzamanML commited on
Commit
0615a52
·
verified ·
1 Parent(s): b597a85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1,24 +1,22 @@
1
  import streamlit as st
2
  from ai_assistant import ai_doctor
3
 
4
- # Add image to left sidebar
5
  st.markdown(
6
  """
7
  <style>
8
  .sidebar .sidebar-content {
9
- width: 350px;
10
  background-image: url('ai_doctor_img.jpg');
11
  background-size: cover;
12
  background-repeat: no-repeat;
13
  background-position: center;
14
- height: 100vh;
15
  }
16
  </style>
17
  """,
18
  unsafe_allow_html=True
19
  )
20
 
21
- # Display title in main content area
22
  st.markdown("<h1 style='text-align: center;'>Your AI Doctor &#129302;</h1>", unsafe_allow_html=True)
23
 
24
  # Create a text input box for the OpenAI key
 
1
  import streamlit as st
2
  from ai_assistant import ai_doctor
3
 
4
+ # Add CSS to fill the sidebar with the image
5
  st.markdown(
6
  """
7
  <style>
8
  .sidebar .sidebar-content {
 
9
  background-image: url('ai_doctor_img.jpg');
10
  background-size: cover;
11
  background-repeat: no-repeat;
12
  background-position: center;
 
13
  }
14
  </style>
15
  """,
16
  unsafe_allow_html=True
17
  )
18
 
19
+ # Display title in the main content area
20
  st.markdown("<h1 style='text-align: center;'>Your AI Doctor &#129302;</h1>", unsafe_allow_html=True)
21
 
22
  # Create a text input box for the OpenAI key