Poonawala commited on
Commit
95fe144
·
verified ·
1 Parent(s): 69f360f

Update app (3).py

Browse files
Files changed (1) hide show
  1. app (3).py +5 -5
app (3).py CHANGED
@@ -91,7 +91,7 @@ with st.sidebar:
91
  menu_icon="cast",
92
  default_index=0,
93
  styles={
94
- "container": {"padding": "0!important", "background-color": "#3e4a5b"},
95
  "icon": {"color": "#ffffff", "font-size": "16px"},
96
  "nav-link": {
97
  "font-size": "15px",
@@ -101,7 +101,7 @@ with st.sidebar:
101
  "font-weight": "bold",
102
  "padding": "10px 20px",
103
  },
104
- "nav-link-selected": {"background-color": "#0b2545", "color": "white"},
105
  }
106
  )
107
 
@@ -109,8 +109,8 @@ with st.sidebar:
109
  col1, col2, col3 = st.columns([1, 2, 1])
110
 
111
  with col2:
112
- st.markdown("<h1 style='text-align: center;'>Disease Analysis GPT</h1>", unsafe_allow_html=True)
113
- st.markdown("<h3 style='text-align: center;'>What do you want to know?</h3>", unsafe_allow_html=True)
114
 
115
  # Model selection (now including Document Analysis)
116
  model_selection = st.selectbox(
@@ -151,4 +151,4 @@ with col2:
151
  st.markdown(f"### Response:\n{response[0]['generated_text']}")
152
 
153
  except Exception as e:
154
- st.error(f"Error generating response: {str(e)}")
 
91
  menu_icon="cast",
92
  default_index=0,
93
  styles={
94
+ "container": {"padding": "0!important", "background-color": "#1a1a1a"},
95
  "icon": {"color": "#ffffff", "font-size": "16px"},
96
  "nav-link": {
97
  "font-size": "15px",
 
101
  "font-weight": "bold",
102
  "padding": "10px 20px",
103
  },
104
+ "nav-link-selected": {"background-color": "#1a1a1a", "color": "white"},
105
  }
106
  )
107
 
 
109
  col1, col2, col3 = st.columns([1, 2, 1])
110
 
111
  with col2:
112
+ st.markdown("<h1 style='text-align: center;'>poonawala dermatologist</h1>", unsafe_allow_html=True)
113
+ st.markdown("<h3 style='text-align: center;'>How can I help you?</h3>", unsafe_allow_html=True)
114
 
115
  # Model selection (now including Document Analysis)
116
  model_selection = st.selectbox(
 
151
  st.markdown(f"### Response:\n{response[0]['generated_text']}")
152
 
153
  except Exception as e:
154
+ st.error(f"Error generating response: {str(e)}")