Spaces:
Sleeping
Sleeping
Update app (3).py
Browse files- 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": "#
|
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": "#
|
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;'>
|
113 |
-
st.markdown("<h3 style='text-align: center;'>
|
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)}")
|