Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,32 @@ st.subheader("Open AI Doc-Chat Assistant: Life Enhancing with AI!")
|
|
22 |
css_file = "main.css"
|
23 |
with open(css_file) as f:
|
24 |
st.markdown("<style>{}</style>".format(f.read()), unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
27 |
|
|
|
22 |
css_file = "main.css"
|
23 |
with open(css_file) as f:
|
24 |
st.markdown("<style>{}</style>".format(f.read()), unsafe_allow_html=True)
|
25 |
+
|
26 |
+
st.sidebar.markdown(
|
27 |
+
"""
|
28 |
+
<style>
|
29 |
+
.blue-underline {
|
30 |
+
text-decoration: bold;
|
31 |
+
color: blue;
|
32 |
+
}
|
33 |
+
</style>
|
34 |
+
""",
|
35 |
+
unsafe_allow_html=True
|
36 |
+
)
|
37 |
+
|
38 |
+
st.markdown(
|
39 |
+
"""
|
40 |
+
<style>
|
41 |
+
[data-testid=stSidebar] [data-testid=stImage]{
|
42 |
+
text-align: center;
|
43 |
+
display: block;
|
44 |
+
margin-left: auto;
|
45 |
+
margin-right: auto;
|
46 |
+
width: 50%;
|
47 |
+
}
|
48 |
+
</style>
|
49 |
+
""", unsafe_allow_html=True
|
50 |
+
)
|
51 |
|
52 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
53 |
|