carisackc commited on
Commit
2b534d2
1 Parent(s): 762f3d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -8
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.sidebar.markdown('Using transformer model',
22
- f'''
23
- <style>
24
- .sidebar .sidebar-content {{
25
- width: 375px;
26
- }}
27
- </style>
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)