Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -18,14 +18,21 @@ nlp = spacy.load("en_ner_bc5cdr_md")
|
|
18 |
|
19 |
st.set_page_config(layout='wide')
|
20 |
st.title('Clinical Note Summarization')
|
21 |
-
st.
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
## Loading in dataset
|
31 |
#df = pd.read_csv('mtsamples_small.csv',index_col=0)
|
|
|
18 |
|
19 |
st.set_page_config(layout='wide')
|
20 |
st.title('Clinical Note Summarization')
|
21 |
+
st.markdown(
|
22 |
+
"""
|
23 |
+
<style>
|
24 |
+
[data-testid="stSidebar"][aria-expanded="true"] > div:first-child {
|
25 |
+
width: 500px;
|
26 |
+
}
|
27 |
+
[data-testid="stSidebar"][aria-expanded="false"] > div:first-child {
|
28 |
+
width: 500px;
|
29 |
+
margin-left: -500px;
|
30 |
+
}
|
31 |
+
</style>
|
32 |
+
""",
|
33 |
+
unsafe_allow_html=True,
|
34 |
+
)
|
35 |
+
st.sidebar.markdown('Using transformer model')
|
36 |
|
37 |
## Loading in dataset
|
38 |
#df = pd.read_csv('mtsamples_small.csv',index_col=0)
|